├── .gitignore ├── .htaccess ├── README.md ├── assets └── dummy.txt ├── css └── main.css ├── img ├── carousel │ ├── browser-icon-chrome.png │ ├── browser-icon-firefox.png │ ├── browser-icon-safari.png │ ├── slide-01.jpg │ ├── slide-02.jpg │ └── slide-03.jpg └── ico │ ├── apple-touch-icon-114-precomposed.png │ ├── apple-touch-icon-144-precomposed.png │ ├── apple-touch-icon-57-precomposed.png │ ├── apple-touch-icon-72-precomposed.png │ ├── favicon.ico │ └── favicon.png ├── index-test.php ├── index.php ├── js ├── main.js └── plugins.js ├── libs ├── bootstrap │ ├── dist │ │ ├── css │ │ │ ├── bootstrap-theme.css │ │ │ ├── bootstrap-theme.min.css │ │ │ ├── bootstrap.css │ │ │ └── bootstrap.min.css │ │ ├── fonts │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ ├── glyphicons-halflings-regular.svg │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ └── glyphicons-halflings-regular.woff │ │ └── js │ │ │ ├── bootstrap.js │ │ │ └── bootstrap.min.js │ ├── examples │ │ ├── carousel │ │ │ ├── carousel.css │ │ │ └── index.html │ │ ├── grid │ │ │ ├── grid.css │ │ │ └── index.html │ │ ├── jumbotron-narrow │ │ │ ├── index.html │ │ │ └── jumbotron-narrow.css │ │ ├── jumbotron │ │ │ ├── index.html │ │ │ └── jumbotron.css │ │ ├── justified-nav │ │ │ ├── index.html │ │ │ └── justified-nav.css │ │ ├── navbar-fixed-top │ │ │ ├── index.html │ │ │ └── navbar-fixed-top.css │ │ ├── navbar-static-top │ │ │ ├── index.html │ │ │ └── navbar-static-top.css │ │ ├── navbar │ │ │ ├── index.html │ │ │ └── navbar.css │ │ ├── non-responsive │ │ │ ├── index.html │ │ │ └── non-responsive.css │ │ ├── offcanvas │ │ │ ├── index.html │ │ │ ├── offcanvas.css │ │ │ └── offcanvas.js │ │ ├── screenshots │ │ │ ├── carousel.jpg │ │ │ ├── grid.jpg │ │ │ ├── jumbotron-narrow.jpg │ │ │ ├── jumbotron.jpg │ │ │ ├── justified-nav.jpg │ │ │ ├── navbar-fixed.jpg │ │ │ ├── navbar-static.jpg │ │ │ ├── navbar.jpg │ │ │ ├── non-responsive.jpg │ │ │ ├── offcanvas.jpg │ │ │ ├── sign-in.jpg │ │ │ ├── starter-template.jpg │ │ │ ├── sticky-footer-navbar.jpg │ │ │ ├── sticky-footer.jpg │ │ │ └── theme.jpg │ │ ├── signin │ │ │ ├── index.html │ │ │ └── signin.css │ │ ├── starter-template │ │ │ ├── index.html │ │ │ └── starter-template.css │ │ ├── sticky-footer-navbar │ │ │ ├── index.html │ │ │ └── sticky-footer-navbar.css │ │ ├── sticky-footer │ │ │ ├── index.html │ │ │ └── sticky-footer.css │ │ └── theme │ │ │ ├── index.html │ │ │ └── theme.css │ ├── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.svg │ │ ├── glyphicons-halflings-regular.ttf │ │ └── glyphicons-halflings-regular.woff │ └── js │ │ ├── affix.js │ │ ├── alert.js │ │ ├── button.js │ │ ├── carousel.js │ │ ├── collapse.js │ │ ├── dropdown.js │ │ ├── modal.js │ │ ├── popover.js │ │ ├── scrollspy.js │ │ ├── tab.js │ │ ├── tests │ │ ├── index.html │ │ ├── unit │ │ │ ├── affix.js │ │ │ ├── alert.js │ │ │ ├── button.js │ │ │ ├── carousel.js │ │ │ ├── collapse.js │ │ │ ├── dropdown.js │ │ │ ├── modal.js │ │ │ ├── phantom.js │ │ │ ├── popover.js │ │ │ ├── scrollspy.js │ │ │ ├── tab.js │ │ │ ├── tooltip.js │ │ │ └── transition.js │ │ └── vendor │ │ │ ├── jquery.js │ │ │ ├── qunit.css │ │ │ └── qunit.js │ │ ├── tooltip.js │ │ └── transition.js ├── bootswatch │ ├── api │ │ ├── 2.json │ │ └── 3.json │ ├── assets │ │ ├── css │ │ │ └── bootswatch.min.css │ │ ├── img │ │ │ ├── carboncostume.png │ │ │ ├── maxcdn.gif │ │ │ └── refs │ │ │ │ ├── beautifulwebdesign.png │ │ │ │ ├── htmlandcss.png │ │ │ │ ├── javascriptandjquery.png │ │ │ │ └── lesscss.jpg │ │ ├── js │ │ │ ├── bootswatch.js │ │ │ └── bsa.js │ │ └── less │ │ │ └── bootswatch.less │ └── cyborg │ │ ├── bootstrap.css │ │ ├── bootstrap.min.css │ │ ├── bootswatch.less │ │ ├── index.html │ │ ├── thumbnail.png │ │ └── variables.less └── jquery │ ├── jquery-migrate.js │ ├── jquery-migrate.min.js │ ├── jquery.js │ ├── jquery.min.js │ └── jquery.min.map ├── music_db_src ├── .bowerrc ├── .gitignore ├── .htaccess ├── Gruntfile.js ├── README.md ├── bower.json ├── coverage │ ├── Chrome 31.0.1650 (Windows 7) │ │ ├── index.html │ │ ├── js │ │ │ ├── app.js.html │ │ │ └── index.html │ │ ├── prettify.css │ │ └── prettify.js │ ├── coverage-Chrome 31.0.1650 (Windows 7)-20131217_160028.json │ ├── coverage-Chrome 31.0.1650 (Windows 7)-20131219_004221.json │ ├── coverage-Chrome 31.0.1650 (Windows 7)-20131219_005436.json │ └── coverage-Chrome 31.0.1650 (Windows 7)-20131219_005925.json ├── css │ ├── all.css │ ├── jumbotron.css │ └── main.css ├── img │ ├── glyphicons-halflings-white.png │ ├── glyphicons-halflings.png │ ├── ng-30.png │ ├── ts-30.png │ └── yii-30.png ├── index.html ├── index.tpl.html ├── js │ ├── App.ts │ ├── Run.ts │ ├── _refs.ts │ ├── bootstrap.js │ ├── config │ │ ├── Constants.ts │ │ ├── LocationConfig.ts │ │ ├── RestangularConfig.ts │ │ └── UIRouter.ts │ ├── controllers │ │ ├── AlbumFormCtrl.ts │ │ ├── AlbumsCtrl.ts │ │ ├── ArtistCtrl.ts │ │ ├── ArtistFormCtrl.ts │ │ ├── BaseCtrl.ts │ │ ├── TrackFormCtrl.ts │ │ └── TracksCtrl.ts │ ├── defs │ │ ├── angular.d.ts │ │ ├── jquery.d.ts │ │ ├── require.d.ts │ │ └── restangular.d.ts │ ├── directives │ │ ├── ExecuteClickOnce.ts │ │ └── NgSpinner.ts │ ├── loader.js │ ├── services │ │ └── Resource.ts │ └── utils │ │ ├── Base64.ts │ │ ├── BreadCrumbs.ts │ │ ├── Noty.ts │ │ ├── Spin.ts │ │ ├── Toastr.ts │ │ └── Utils.ts ├── libs │ ├── angular-table │ │ └── angular-table.js │ ├── angular-ui-router │ │ ├── angular-ui-router_0312.js │ │ └── angular-ui-router_0312.min.js │ ├── assets │ │ ├── application.js │ │ ├── customizer.js │ │ ├── filesaver.js │ │ ├── holder.js │ │ ├── html5shiv.js │ │ ├── ico │ │ │ ├── apple-touch-icon-114-precomposed.png │ │ │ ├── apple-touch-icon-144-precomposed.png │ │ │ ├── apple-touch-icon-57-precomposed.png │ │ │ ├── apple-touch-icon-72-precomposed.png │ │ │ └── favicon.png │ │ ├── jquery.js │ │ ├── jszip.js │ │ ├── less.js │ │ ├── raw-files.js │ │ ├── respond.min.js │ │ └── uglify.js │ └── toastr │ │ ├── toastr.css │ │ ├── toastr.js │ │ ├── toastr.min.css │ │ └── toastrAMD.js ├── package.json ├── partials │ ├── albums.tpl.html │ ├── albumsForm.tpl.html │ ├── artist.details.tpl.html │ ├── artistForm.tpl.html │ ├── artists.tpl.html │ ├── tracks.tpl.html │ └── tracksForm.tpl.html └── test │ ├── e2e │ ├── artistCtrlSpec.js │ └── requestsSpec.js │ ├── karma-unit.conf.js │ ├── protractor.conf.js │ └── unit │ └── services │ └── ResourceSpec.js ├── protected ├── .htaccess ├── commands │ └── Clear_inactiveCommand.php ├── components │ ├── BaseController.php │ ├── CmsInput.php │ ├── Controller.php │ └── UserIdentity.php ├── config │ ├── console.php │ ├── htmlpurifier.php │ ├── main.php │ ├── restConfig.php │ └── test.php ├── controllers │ ├── SiteController.php │ └── ng_music_db │ │ ├── AlbumController.php │ │ ├── ArtistController.php │ │ ├── GenreController.php │ │ └── TrackController.php ├── data │ ├── music_db.sql │ ├── testdrive.db │ └── user_table.sql ├── extensions │ ├── bootstrap │ │ ├── LICENSE.txt │ │ ├── README.md │ │ ├── behaviors │ │ │ └── TbWidget.php │ │ ├── components │ │ │ ├── KTbApi.php │ │ │ └── TbApi.php │ │ ├── gii │ │ │ └── bootstrap │ │ │ │ ├── BootstrapCode.php │ │ │ │ ├── BootstrapGenerator.php │ │ │ │ ├── templates │ │ │ │ └── default │ │ │ │ │ ├── _form.php │ │ │ │ │ ├── _search.php │ │ │ │ │ ├── _view.php │ │ │ │ │ ├── admin.php │ │ │ │ │ ├── controller.php │ │ │ │ │ ├── create.php │ │ │ │ │ ├── index.php │ │ │ │ │ ├── update.php │ │ │ │ │ └── view.php │ │ │ │ └── views │ │ │ │ └── index.php │ │ ├── helpers │ │ │ ├── TbArray.php │ │ │ └── TbHtml.php │ │ ├── tests │ │ │ ├── _bootstrap.php │ │ │ ├── _data │ │ │ │ └── dump.sql │ │ │ ├── _helpers │ │ │ │ ├── CodeHelper.php │ │ │ │ ├── TestHelper.php │ │ │ │ └── WebHelper.php │ │ │ ├── _log │ │ │ │ └── .gitkeep │ │ │ ├── unit.suite.yml │ │ │ └── unit │ │ │ │ ├── CodeGuy.php │ │ │ │ ├── TbArrayTest.php │ │ │ │ ├── TbHtmlTest.php │ │ │ │ ├── TbTestCase.php │ │ │ │ └── _bootstrap.php │ │ └── widgets │ │ │ ├── TbActiveForm.php │ │ │ ├── TbAffix.php │ │ │ ├── TbAlert.php │ │ │ ├── TbBreadcrumb.php │ │ │ ├── TbButtonColumn.php │ │ │ ├── TbCollapse.php │ │ │ ├── TbDataColumn.php │ │ │ ├── TbDetailView.php │ │ │ ├── TbGridView.php │ │ │ ├── TbHeroUnit.php │ │ │ ├── TbListView.php │ │ │ ├── TbModal.php │ │ │ ├── TbNav.php │ │ │ ├── TbNavbar.php │ │ │ ├── TbPager.php │ │ │ ├── TbScrollspy.php │ │ │ ├── TbTabs.php │ │ │ ├── TbThumbnails.php │ │ │ └── TbTypeAhead.php │ ├── mailer │ │ ├── EMailer.php │ │ └── phpmailer │ │ │ ├── ChangeLog.txt │ │ │ ├── LICENSE │ │ │ ├── README │ │ │ ├── aboutus.html │ │ │ ├── class.phpmailer.php │ │ │ ├── class.pop3.php │ │ │ ├── class.smtp.php │ │ │ └── language │ │ │ ├── phpmailer.lang-ar.php │ │ │ ├── phpmailer.lang-br.php │ │ │ ├── phpmailer.lang-ca.php │ │ │ ├── phpmailer.lang-ch.php │ │ │ ├── phpmailer.lang-cz.php │ │ │ ├── phpmailer.lang-de.php │ │ │ ├── phpmailer.lang-dk.php │ │ │ ├── phpmailer.lang-es.php │ │ │ ├── phpmailer.lang-et.php │ │ │ ├── phpmailer.lang-fi.php │ │ │ ├── phpmailer.lang-fo.php │ │ │ ├── phpmailer.lang-fr.php │ │ │ ├── phpmailer.lang-hu.php │ │ │ ├── phpmailer.lang-it.php │ │ │ ├── phpmailer.lang-ja.php │ │ │ ├── phpmailer.lang-nl.php │ │ │ ├── phpmailer.lang-no.php │ │ │ ├── phpmailer.lang-pl.php │ │ │ ├── phpmailer.lang-ro.php │ │ │ ├── phpmailer.lang-ru.php │ │ │ ├── phpmailer.lang-se.php │ │ │ ├── phpmailer.lang-tr.php │ │ │ ├── phpmailer.lang-zh.php │ │ │ └── phpmailer.lang-zh_cn.php │ ├── passwordbehavior │ │ ├── ABcryptPasswordStrategy.php │ │ ├── AHashPasswordStrategy.php │ │ ├── ALegacyMd5PasswordStrategy.php │ │ ├── ALegacySha1PasswordStrategy.php │ │ ├── APasswordBehavior.php │ │ ├── APasswordStrategy.php │ │ ├── README.md │ │ └── tests │ │ │ ├── ABcryptPasswordStrategyTest.php │ │ │ └── AHashPasswordStrategyTest.php │ ├── recaptcha │ │ ├── EReCaptcha.php │ │ ├── EReCaptchaValidator.php │ │ └── reCAPTCHA │ │ │ ├── LICENCE.txt │ │ │ └── recaptchalib.php │ └── starship │ │ ├── RestfullYii │ │ ├── ARBehaviors │ │ │ ├── ERestActiveRecordRelationBehavior.php │ │ │ └── ERestHelperScopes.php │ │ ├── actions │ │ │ ├── EActionRestDELETE.php │ │ │ ├── EActionRestGET.php │ │ │ ├── EActionRestPOST.php │ │ │ ├── EActionRestPUT.php │ │ │ ├── ERestActionProvider.php │ │ │ └── ERestBaseAction.php │ │ ├── behaviors │ │ │ └── ERestBehavior.php │ │ ├── components │ │ │ ├── EHttpStatus.php │ │ │ ├── ERestRequestReader.php │ │ │ ├── ERestResourceHelper.php │ │ │ ├── ERestSubresourceHelper.php │ │ │ └── iERestResourceHelper.php │ │ ├── config │ │ │ └── routes.php │ │ ├── events │ │ │ ├── ERestEvent.php │ │ │ ├── ERestEventListenerRegistry.php │ │ │ └── Eventor │ │ │ │ ├── Eventor.php │ │ │ │ └── iEventor.php │ │ ├── filters │ │ │ └── ERestFilter.php │ │ ├── tests │ │ │ ├── ERestTestCase.php │ │ │ ├── ERestTestRequestHelper.php │ │ │ ├── MockObjs │ │ │ │ ├── controllers │ │ │ │ │ ├── CategoryController.php │ │ │ │ │ ├── ERestBaseTestController.php │ │ │ │ │ ├── PostController.php │ │ │ │ │ ├── ProfileController.php │ │ │ │ │ └── UserController.php │ │ │ │ └── models │ │ │ │ │ ├── Category.php │ │ │ │ │ ├── Post.php │ │ │ │ │ ├── Profile.php │ │ │ │ │ └── User.php │ │ │ ├── WebTestCase.php │ │ │ ├── bootstrap.php │ │ │ ├── migrations │ │ │ │ └── ERestTestMigration.php │ │ │ ├── phpunit.xml │ │ │ ├── testConfig.php │ │ │ └── unit │ │ │ │ ├── DELETECustomRouteUnitTest.php │ │ │ │ ├── DELETEResourceUnitTest.php │ │ │ │ ├── DELETESubresourceUnitTest.php │ │ │ │ ├── EActionRestDELETEUnitTest.php │ │ │ │ ├── EActionRestGETUnitTest.php │ │ │ │ ├── EActionRestPOSTUnitTest.php │ │ │ │ ├── EActionRestPUTUnitTest.php │ │ │ │ ├── EHttpStatusUnitTest.php │ │ │ │ ├── ERestActionProviderUnitTest.php │ │ │ │ ├── ERestActiveRecordRelationBehaviorUnitTest.php │ │ │ │ ├── ERestBaseActionUnitTest.php │ │ │ │ ├── ERestBehaviorUnitTest.php │ │ │ │ ├── ERestEventListenerRegistryUnitTest.php │ │ │ │ ├── ERestEventUnitTest.php │ │ │ │ ├── ERestFilterUnitTest.php │ │ │ │ ├── ERestHelperScopesUnitTest.php │ │ │ │ ├── ERestJSONOutputWidgetUnitTest.php │ │ │ │ ├── ERestRequestReaderUnitTest.php │ │ │ │ ├── ERestResourceHelperUnitTest.php │ │ │ │ ├── ERestSubresourceHelperUnitTest.php │ │ │ │ ├── EventorUnitTest.php │ │ │ │ ├── GETCustomRouteUnitTest.php │ │ │ │ ├── GETResourceUnitTest.php │ │ │ │ ├── GETResourceVisibleHiddenPropertiesUnitTest.php │ │ │ │ ├── GETResourcesFilterUnitTest.php │ │ │ │ ├── GETResourcesLimitOffsetUnitTest.php │ │ │ │ ├── GETResourcesSortUnitTest.php │ │ │ │ ├── GETResourcesUnitTest.php │ │ │ │ ├── GETResourcesVisibleHiddenPropertiesUnitTest.php │ │ │ │ ├── GETSubresourceUnitTest.php │ │ │ │ ├── GETSubresourcesUnitTest.php │ │ │ │ ├── POSTCustomRouteUnitTest.php │ │ │ │ ├── POSTResourceUnitTest.php │ │ │ │ ├── PUTCustomRouteUnitTest.php │ │ │ │ ├── PUTResourceUnitTest.php │ │ │ │ ├── PUTResourceWithRelationsUnitTest.php │ │ │ │ ├── PUTSubresourceUnitTest.php │ │ │ │ ├── RequestCycleAuthUnitTest.php │ │ │ │ └── RoutesUnitTest.php │ │ ├── vendors │ │ │ └── activerecord-relation-behavior │ │ │ │ ├── .gitignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── EActiveRecordRelationBehavior.php │ │ │ │ ├── EActiveRecordRelationBehaviorTest.php │ │ │ │ ├── LICENSE │ │ │ │ ├── README.md │ │ │ │ ├── README.ru.md │ │ │ │ └── composer.json │ │ ├── views │ │ │ ├── api │ │ │ │ └── output.php │ │ │ └── layouts │ │ │ │ └── json.php │ │ └── widgets │ │ │ └── ERestJSONOutputWidget.php │ │ └── routes.php ├── helpers │ ├── shortcuts.php │ └── utils.php ├── migrations │ ├── m121020_230247_user.php │ └── m131217_123045_music_db.php ├── models │ ├── ContactForm.php │ ├── EmailForm.php │ ├── LoginForm.php │ ├── PasswordResetForm.php │ ├── RegisterForm.php │ ├── User.php │ └── ng_music_db │ │ ├── Album.php │ │ ├── Artist.php │ │ ├── Genre.php │ │ └── Track.php ├── runtime │ └── application.log ├── vendors │ ├── Codeigniter │ │ ├── CI_Security.php │ │ └── index.html │ ├── FirePHPCore │ │ ├── FB.php │ │ ├── FirePHP.class.php │ │ ├── FirePHP.php │ │ └── LICENSE │ └── firephp │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── examples │ │ ├── FeedCache │ │ │ ├── .gitignore │ │ │ ├── feed.php │ │ │ └── index.php │ │ ├── Quickstart │ │ │ ├── Groups.php │ │ │ ├── MessagePriorities.php │ │ │ ├── ServerScript.php │ │ │ ├── Tables.php │ │ │ ├── _init_.php │ │ │ ├── credentials.json │ │ │ ├── index.php │ │ │ └── package.json │ │ ├── README.md │ │ ├── TestRunner │ │ │ ├── _insight_.php │ │ │ ├── classic-firebug │ │ │ │ ├── Aliases.php │ │ │ │ ├── AllVariableTypes.php │ │ │ │ ├── BasicLoggingObjectOriented.php │ │ │ │ ├── BasicLoggingProcedural.php │ │ │ │ ├── ComplexTable.php │ │ │ │ ├── ComplexVariableValues.php │ │ │ │ ├── DeepVariables.php │ │ │ │ ├── DivisionByZeroTrace.php │ │ │ │ ├── Enabling.php │ │ │ │ ├── ErrorHandler.php │ │ │ │ ├── ExceptionHandler.php │ │ │ │ ├── Groups.php │ │ │ │ ├── LotsOfData.php │ │ │ │ ├── ObjectMembers.php │ │ │ │ ├── PageConsole-BackCompat.php │ │ │ │ ├── PageConsole-Dump.php │ │ │ │ ├── PageConsole-Options.php │ │ │ │ ├── Redirect.php │ │ │ │ ├── RedirectTarget.php │ │ │ │ ├── Serialize.php │ │ │ │ ├── StaticClass.php │ │ │ │ ├── UTF8.php │ │ │ │ ├── VariousTests.php │ │ │ │ ├── _init_.php │ │ │ │ └── snippets │ │ │ │ │ ├── FirePHPCore-ObjectOriented-API.php │ │ │ │ │ ├── FirePHPCore-PHP4.php │ │ │ │ │ ├── FirePHPCore-Procedural-API.php │ │ │ │ │ ├── Traditional-ObjectOriented-API.php │ │ │ │ │ └── Traditional-Procedural-API.php │ │ │ ├── credentials.json │ │ │ ├── index.php │ │ │ ├── insight-devcomp │ │ │ │ ├── PageConsole-Compat-Console.php │ │ │ │ ├── PageConsole-Compat-Traditional.php │ │ │ │ ├── PageConsole-Errors.php │ │ │ │ ├── PageConsole-Groups.php │ │ │ │ ├── PageConsole-Info.php │ │ │ │ ├── PageConsole-InsightViewer.php │ │ │ │ ├── PageConsole-Options.php │ │ │ │ ├── PageConsole-Options1.php │ │ │ │ ├── PageConsole-PayloadParser.php │ │ │ │ ├── PageConsole-RSSFeed.php │ │ │ │ ├── PageConsole-RecursiveStackTrace.php │ │ │ │ ├── PageConsole-Redirect.php │ │ │ │ ├── PageConsole-RedirectTarget.php │ │ │ │ ├── PageConsole-StringTrimming.php │ │ │ │ ├── PageConsole-StringTruncating.php │ │ │ │ ├── PageConsole-Tests.php │ │ │ │ ├── PageConsole-TopLevelStrings.php │ │ │ │ ├── PageConsole-TraceOffsets.php │ │ │ │ ├── PageConsole.php │ │ │ │ ├── PageControls1-Message.php │ │ │ │ ├── PageControls1.php │ │ │ │ ├── PageControls2.php │ │ │ │ ├── RequestConsole-Arrays.php │ │ │ │ ├── RequestConsole-AutoInspect.php │ │ │ │ ├── RequestConsole-Conditional.php │ │ │ │ ├── RequestConsole-ConditionalComplex.php │ │ │ │ ├── RequestConsole-Errors.php │ │ │ │ ├── RequestConsole-Groups.php │ │ │ │ ├── RequestConsole-InspectHeader.php │ │ │ │ ├── RequestConsole-LotsOfData.php │ │ │ │ ├── RequestConsole-ManualInspect.php │ │ │ │ ├── RequestConsole-Objects.php │ │ │ │ ├── RequestConsole-PostTest.php │ │ │ │ ├── RequestConsole-Primitives.php │ │ │ │ ├── RequestConsole-Redirect.php │ │ │ │ ├── RequestConsole-RedirectTarget.php │ │ │ │ ├── RequestConsole-Tables.php │ │ │ │ ├── RequestConsole-Tracing.php │ │ │ │ ├── RequestConsole-TraditionalRedirect-FB.php │ │ │ │ ├── RequestConsole-TraditionalRedirect-OO.php │ │ │ │ ├── _init_.php │ │ │ │ ├── plugins │ │ │ │ │ ├── PageControls1 │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ └── Plugin.php │ │ │ │ │ │ └── packages │ │ │ │ │ │ │ └── page-top │ │ │ │ │ │ │ ├── lib │ │ │ │ │ │ │ └── main.js │ │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ │ └── resources │ │ │ │ │ │ │ ├── common.css │ │ │ │ │ │ │ ├── img │ │ │ │ │ │ │ └── devcomp_16.png │ │ │ │ │ │ │ └── style.css │ │ │ │ │ └── PageControls2 │ │ │ │ │ │ ├── lib │ │ │ │ │ │ └── Plugin.php │ │ │ │ │ │ └── packages │ │ │ │ │ │ └── page-top │ │ │ │ │ │ ├── lib │ │ │ │ │ │ └── main.js │ │ │ │ │ │ ├── package.json │ │ │ │ │ │ └── resources │ │ │ │ │ │ └── style.css │ │ │ │ └── snippets │ │ │ │ │ ├── AnnotationClassFilter.php │ │ │ │ │ ├── ConditionalByName.php │ │ │ │ │ ├── ConditionalContext.php │ │ │ │ │ ├── ConditionalFlowControl.php │ │ │ │ │ ├── Controller-TriggerClientTest.php │ │ │ │ │ ├── Deactivated.php │ │ │ │ │ ├── Engine-Errors.php │ │ │ │ │ ├── Engine-HandleException.php │ │ │ │ │ ├── Engine-OnException.php │ │ │ │ │ ├── FirePHP-LogVersion.php │ │ │ │ │ ├── FirePHP-RecordEnvironment.php │ │ │ │ │ ├── FirePHP-TrapProblems.php │ │ │ │ │ ├── FirePHP-declareP.php │ │ │ │ │ ├── GroupContext.php │ │ │ │ │ ├── Install-Minimal.php │ │ │ │ │ ├── Introduction-Example.php │ │ │ │ │ ├── Labels.php │ │ │ │ │ ├── LogToGroup.php │ │ │ │ │ ├── ManualClassFilter.php │ │ │ │ │ ├── Package-QuickLinks.php │ │ │ │ │ ├── PageConsole-InsightAPI.php │ │ │ │ │ ├── PageConsole.php │ │ │ │ │ ├── PayloadListener.php │ │ │ │ │ ├── Priorities.php │ │ │ │ │ ├── RelayPayload.php │ │ │ │ │ ├── Tables.php │ │ │ │ │ ├── Traces.php │ │ │ │ │ └── Traditional-RedirectAPI.php │ │ │ ├── jquery-1.4.2.min.js │ │ │ ├── jquery.layout-1.3.0.js │ │ │ └── package.json │ │ ├── UIPlugins │ │ │ ├── _insight_.php │ │ │ ├── credentials.json │ │ │ ├── index.php │ │ │ └── package.json │ │ ├── ZendFramework │ │ │ ├── .htaccess │ │ │ └── index.php │ │ └── index.php │ │ ├── lib │ │ ├── FirePHP │ │ │ ├── Init.php │ │ │ ├── Insight.php │ │ │ ├── Plugin │ │ │ │ ├── Engine.php │ │ │ │ └── FirePHP.php │ │ │ ├── fb.php │ │ │ └── p.php │ │ ├── FirePHPCore │ │ │ ├── FirePHP.class.php │ │ │ ├── FirePHP.class.php4 │ │ │ ├── LICENSE │ │ │ ├── fb.php │ │ │ └── fb.php4 │ │ ├── Insight │ │ │ ├── Config.php │ │ │ ├── Dispatcher.php │ │ │ ├── Encoder │ │ │ │ ├── Default.php │ │ │ │ └── JSON.php │ │ │ ├── Helper.php │ │ │ ├── Message.php │ │ │ ├── Plugin │ │ │ │ ├── API.php │ │ │ │ ├── Assertion.php │ │ │ │ ├── Console.php │ │ │ │ ├── Controller.php │ │ │ │ ├── Error.php │ │ │ │ ├── FileViewer.php │ │ │ │ ├── Files.php │ │ │ │ ├── Group.php │ │ │ │ ├── Package.php │ │ │ │ ├── Page.php │ │ │ │ ├── Patch.php │ │ │ │ ├── Plugin.php │ │ │ │ ├── Plugin │ │ │ │ │ └── Message.php │ │ │ │ ├── Process.php │ │ │ │ ├── Request.php │ │ │ │ ├── Selective.php │ │ │ │ ├── Tester.php │ │ │ │ └── Timeline.php │ │ │ ├── Program │ │ │ │ ├── JavaScript.php │ │ │ │ └── JavaScript │ │ │ │ │ └── Plugin.php │ │ │ ├── Receiver │ │ │ │ └── Announce.php │ │ │ ├── Request.php │ │ │ ├── Server.php │ │ │ ├── Transport.php │ │ │ └── Util.php │ │ ├── Wildfire │ │ │ ├── Channel.php │ │ │ ├── Channel │ │ │ │ ├── FlushListener.php │ │ │ │ ├── HttpClient.php │ │ │ │ ├── HttpHeader.php │ │ │ │ └── Memory.php │ │ │ ├── Dispatcher.php │ │ │ ├── Message.php │ │ │ ├── Protocol.php │ │ │ ├── Protocol │ │ │ │ ├── Announce.php │ │ │ │ └── Component.php │ │ │ ├── Receiver.php │ │ │ ├── Receiver │ │ │ │ └── Relay.php │ │ │ ├── Transport.php │ │ │ └── Util.php │ │ └── Zend │ │ │ ├── Exception.php │ │ │ ├── Json.php │ │ │ ├── Json │ │ │ ├── Decoder.php │ │ │ ├── Encoder.php │ │ │ ├── Exception.php │ │ │ └── Expr.php │ │ │ ├── Loader.php │ │ │ └── Reflection │ │ │ ├── Class.php │ │ │ ├── Docblock.php │ │ │ ├── Docblock │ │ │ ├── Tag.php │ │ │ └── Tag │ │ │ │ ├── Param.php │ │ │ │ └── Return.php │ │ │ ├── Exception.php │ │ │ ├── Method.php │ │ │ ├── Parameter.php │ │ │ └── Property.php │ │ └── tests │ │ ├── Wildfire │ │ └── Channel │ │ │ └── HttpHeaderTest.php │ │ └── phpunit │ │ ├── FirePHPCore │ │ └── FirePHPTest.php │ │ ├── TestHelper.php │ │ └── phpunit │ │ ├── FirePHP │ │ └── InitTest.php │ │ └── TestHelper.php ├── views │ ├── layouts │ │ ├── _switch.php │ │ ├── carousel.php │ │ ├── jumbotron-narrow.php │ │ ├── jumbotron.php │ │ ├── justified-nav.php │ │ ├── main.php │ │ ├── offcanvas.php │ │ ├── rest.php │ │ └── starter-template.php │ ├── mailer │ │ ├── activation.php │ │ ├── contact.php │ │ ├── layouts │ │ │ ├── main.php │ │ │ ├── main2.php │ │ │ └── main3.php │ │ └── pwd_reset.php │ └── site │ │ ├── contact.php │ │ ├── email_for_reset.php │ │ ├── error.php │ │ ├── index.php │ │ ├── index_carousel.php │ │ ├── index_jumbotron-narrow.php │ │ ├── index_jumbotron.php │ │ ├── index_justified-nav.php │ │ ├── index_offcanvas.php │ │ ├── index_starter-template.php │ │ ├── login.php │ │ ├── pages │ │ └── about.php │ │ ├── password_reset.php │ │ └── register.php ├── yiic ├── yiic.bat └── yiic.php ├── themes ├── bootstrap2 │ └── views │ │ ├── .htaccess │ │ ├── layouts │ │ ├── carousel.php │ │ ├── fluid.php │ │ ├── hero.php │ │ ├── justified-nav.php │ │ ├── main.php │ │ ├── marketing-narrow.php │ │ └── starter.php │ │ └── site │ │ ├── contact.php │ │ ├── email_for_reset.php │ │ ├── error.php │ │ ├── index_carousel.php │ │ ├── index_fluid.php │ │ ├── index_hero.php │ │ ├── index_justified-nav.php │ │ ├── index_marketing-narrow.php │ │ ├── index_starter.php │ │ ├── login.php │ │ ├── pages │ │ └── about.php │ │ ├── password_reset.php │ │ └── register.php └── classic │ └── views │ └── .htaccess └── yiistrap_assets ├── css ├── bootstrap-responsive.css ├── bootstrap-responsive.min.css ├── bootstrap.css ├── bootstrap.min.css ├── yiistrap.css └── yiistrap.min.css ├── img ├── glyphicons-halflings-white.png ├── glyphicons-halflings.png └── loader.gif ├── js ├── bootstrap.js ├── bootstrap.min.js └── holder.js └── layouts ├── carousel.css ├── fluid.css ├── hero.css ├── justified-nav.css ├── marketing-narrow.css └── starter.css /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | git 3 | .gitmodules 4 | music_db 5 | logs 6 | start_repo.bat 7 | start_repo_backup_only.bat 8 | push.bat 9 | backup.bat 10 | start_github.bat 11 | add_github.bat 12 | music_db_src/logs 13 | music_db_src/.idea 14 | music_db_src/node_modules 15 | music_db_src/start_backup.bat 16 | music_db_src/start_github.bat 17 | music_db_src/start_repo.bat 18 | music_db_src/push.bat 19 | music_db_src/backup.bat 20 | 21 | -------------------------------------------------------------------------------- /assets/dummy.txt: -------------------------------------------------------------------------------- 1 | Dummy file -------------------------------------------------------------------------------- /img/carousel/browser-icon-chrome.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/img/carousel/browser-icon-chrome.png -------------------------------------------------------------------------------- /img/carousel/browser-icon-firefox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/img/carousel/browser-icon-firefox.png -------------------------------------------------------------------------------- /img/carousel/browser-icon-safari.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/img/carousel/browser-icon-safari.png -------------------------------------------------------------------------------- /img/carousel/slide-01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/img/carousel/slide-01.jpg -------------------------------------------------------------------------------- /img/carousel/slide-02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/img/carousel/slide-02.jpg -------------------------------------------------------------------------------- /img/carousel/slide-03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/img/carousel/slide-03.jpg -------------------------------------------------------------------------------- /img/ico/apple-touch-icon-114-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/img/ico/apple-touch-icon-114-precomposed.png -------------------------------------------------------------------------------- /img/ico/apple-touch-icon-144-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/img/ico/apple-touch-icon-144-precomposed.png -------------------------------------------------------------------------------- /img/ico/apple-touch-icon-57-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/img/ico/apple-touch-icon-57-precomposed.png -------------------------------------------------------------------------------- /img/ico/apple-touch-icon-72-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/img/ico/apple-touch-icon-72-precomposed.png -------------------------------------------------------------------------------- /img/ico/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/img/ico/favicon.ico -------------------------------------------------------------------------------- /img/ico/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/img/ico/favicon.png -------------------------------------------------------------------------------- /index-test.php: -------------------------------------------------------------------------------- 1 | run(); 16 | -------------------------------------------------------------------------------- /js/main.js: -------------------------------------------------------------------------------- 1 | //Custom Javascript Here 2 | -------------------------------------------------------------------------------- /js/plugins.js: -------------------------------------------------------------------------------- 1 | // Avoid `console` errors in browsers that lack a console. 2 | if (!(window.console && console.log)) { 3 | (function() { 4 | var noop = function() {}; 5 | var methods = ['assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error', 'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log', 'markTimeline', 'profile', 'profileEnd', 'markTimeline', 'table', 'time', 'timeEnd', 'timeStamp', 'trace', 'warn']; 6 | var length = methods.length; 7 | var console = window.console = {}; 8 | while (length--) { 9 | console[methods[length]] = noop; 10 | } 11 | }()); 12 | } 13 | 14 | // Place any jQuery/helper plugins in here. 15 | -------------------------------------------------------------------------------- /libs/bootstrap/dist/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootstrap/dist/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /libs/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /libs/bootstrap/dist/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootstrap/dist/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /libs/bootstrap/examples/grid/grid.css: -------------------------------------------------------------------------------- 1 | .container { 2 | padding-left: 15px; 3 | padding-right: 15px; 4 | } 5 | 6 | h4 { 7 | margin-top: 25px; 8 | } 9 | .row { 10 | margin-bottom: 20px; 11 | } 12 | .row .row { 13 | margin-top: 10px; 14 | margin-bottom: 0; 15 | } 16 | [class*="col-"] { 17 | padding-top: 15px; 18 | padding-bottom: 15px; 19 | background-color: #eee; 20 | border: 1px solid #ddd; 21 | background-color: rgba(86,61,124,.15); 22 | border: 1px solid rgba(86,61,124,.2); 23 | } 24 | 25 | hr { 26 | margin-top: 40px; 27 | margin-bottom: 40px; 28 | } -------------------------------------------------------------------------------- /libs/bootstrap/examples/jumbotron/jumbotron.css: -------------------------------------------------------------------------------- 1 | /* Move down content because we have a fixed navbar that is 50px tall */ 2 | body { 3 | padding-top: 50px; 4 | padding-bottom: 20px; 5 | } 6 | -------------------------------------------------------------------------------- /libs/bootstrap/examples/navbar-fixed-top/navbar-fixed-top.css: -------------------------------------------------------------------------------- 1 | body { 2 | min-height: 2000px; 3 | padding-top: 70px; 4 | } 5 | -------------------------------------------------------------------------------- /libs/bootstrap/examples/navbar-static-top/navbar-static-top.css: -------------------------------------------------------------------------------- 1 | body { 2 | min-height: 2000px; 3 | } 4 | 5 | .navbar-static-top { 6 | margin-bottom: 19px; 7 | } -------------------------------------------------------------------------------- /libs/bootstrap/examples/navbar/navbar.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding-top: 20px; 3 | padding-bottom: 20px; 4 | } 5 | 6 | .navbar { 7 | margin-bottom: 20px; 8 | } 9 | -------------------------------------------------------------------------------- /libs/bootstrap/examples/offcanvas/offcanvas.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Style tweaks 3 | * -------------------------------------------------- 4 | */ 5 | html { 6 | overflow-x: hidden; /* Prevent scroll on narrow devices */ 7 | } 8 | body { 9 | padding-top: 70px; 10 | } 11 | footer { 12 | padding: 30px 0; 13 | } 14 | 15 | /* 16 | * Off Canvas 17 | * -------------------------------------------------- 18 | */ 19 | @media screen and (max-width: 767px) { 20 | .row-offcanvas { 21 | position: relative; 22 | -webkit-transition: all 0.25s ease-out; 23 | -moz-transition: all 0.25s ease-out; 24 | transition: all 0.25s ease-out; 25 | } 26 | 27 | .row-offcanvas-right 28 | .sidebar-offcanvas { 29 | right: -50%; /* 6 columns */ 30 | } 31 | 32 | .row-offcanvas-left 33 | .sidebar-offcanvas { 34 | left: -50%; /* 6 columns */ 35 | } 36 | 37 | .row-offcanvas-right.active { 38 | right: 50%; /* 6 columns */ 39 | } 40 | 41 | .row-offcanvas-left.active { 42 | left: 50%; /* 6 columns */ 43 | } 44 | 45 | .sidebar-offcanvas { 46 | position: absolute; 47 | top: 0; 48 | width: 50%; /* 6 columns */ 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /libs/bootstrap/examples/offcanvas/offcanvas.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $('[data-toggle=offcanvas]').click(function() { 3 | $('.row-offcanvas').toggleClass('active'); 4 | }); 5 | }); -------------------------------------------------------------------------------- /libs/bootstrap/examples/screenshots/carousel.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootstrap/examples/screenshots/carousel.jpg -------------------------------------------------------------------------------- /libs/bootstrap/examples/screenshots/grid.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootstrap/examples/screenshots/grid.jpg -------------------------------------------------------------------------------- /libs/bootstrap/examples/screenshots/jumbotron-narrow.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootstrap/examples/screenshots/jumbotron-narrow.jpg -------------------------------------------------------------------------------- /libs/bootstrap/examples/screenshots/jumbotron.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootstrap/examples/screenshots/jumbotron.jpg -------------------------------------------------------------------------------- /libs/bootstrap/examples/screenshots/justified-nav.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootstrap/examples/screenshots/justified-nav.jpg -------------------------------------------------------------------------------- /libs/bootstrap/examples/screenshots/navbar-fixed.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootstrap/examples/screenshots/navbar-fixed.jpg -------------------------------------------------------------------------------- /libs/bootstrap/examples/screenshots/navbar-static.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootstrap/examples/screenshots/navbar-static.jpg -------------------------------------------------------------------------------- /libs/bootstrap/examples/screenshots/navbar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootstrap/examples/screenshots/navbar.jpg -------------------------------------------------------------------------------- /libs/bootstrap/examples/screenshots/non-responsive.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootstrap/examples/screenshots/non-responsive.jpg -------------------------------------------------------------------------------- /libs/bootstrap/examples/screenshots/offcanvas.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootstrap/examples/screenshots/offcanvas.jpg -------------------------------------------------------------------------------- /libs/bootstrap/examples/screenshots/sign-in.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootstrap/examples/screenshots/sign-in.jpg -------------------------------------------------------------------------------- /libs/bootstrap/examples/screenshots/starter-template.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootstrap/examples/screenshots/starter-template.jpg -------------------------------------------------------------------------------- /libs/bootstrap/examples/screenshots/sticky-footer-navbar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootstrap/examples/screenshots/sticky-footer-navbar.jpg -------------------------------------------------------------------------------- /libs/bootstrap/examples/screenshots/sticky-footer.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootstrap/examples/screenshots/sticky-footer.jpg -------------------------------------------------------------------------------- /libs/bootstrap/examples/screenshots/theme.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootstrap/examples/screenshots/theme.jpg -------------------------------------------------------------------------------- /libs/bootstrap/examples/signin/signin.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding-top: 40px; 3 | padding-bottom: 40px; 4 | background-color: #eee; 5 | } 6 | 7 | .form-signin { 8 | max-width: 330px; 9 | padding: 15px; 10 | margin: 0 auto; 11 | } 12 | .form-signin .form-signin-heading, 13 | .form-signin .checkbox { 14 | margin-bottom: 10px; 15 | } 16 | .form-signin .checkbox { 17 | font-weight: normal; 18 | } 19 | .form-signin .form-control { 20 | position: relative; 21 | font-size: 16px; 22 | height: auto; 23 | padding: 10px; 24 | -webkit-box-sizing: border-box; 25 | -moz-box-sizing: border-box; 26 | box-sizing: border-box; 27 | } 28 | .form-signin .form-control:focus { 29 | z-index: 2; 30 | } 31 | .form-signin input[type="text"] { 32 | margin-bottom: -1px; 33 | border-bottom-left-radius: 0; 34 | border-bottom-right-radius: 0; 35 | } 36 | .form-signin input[type="password"] { 37 | margin-bottom: 10px; 38 | border-top-left-radius: 0; 39 | border-top-right-radius: 0; 40 | } -------------------------------------------------------------------------------- /libs/bootstrap/examples/starter-template/starter-template.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding-top: 50px; 3 | } 4 | .starter-template { 5 | padding: 40px 15px; 6 | text-align: center; 7 | } 8 | -------------------------------------------------------------------------------- /libs/bootstrap/examples/sticky-footer-navbar/sticky-footer-navbar.css: -------------------------------------------------------------------------------- 1 | /* Sticky footer styles 2 | -------------------------------------------------- */ 3 | 4 | html, 5 | body { 6 | height: 100%; 7 | /* The html and body elements cannot have any padding or margin. */ 8 | } 9 | 10 | /* Wrapper for page content to push down footer */ 11 | #wrap { 12 | min-height: 100%; 13 | height: auto; 14 | /* Negative indent footer by its height */ 15 | margin: 0 auto -60px; 16 | /* Pad bottom by footer height */ 17 | padding: 0 0 60px; 18 | } 19 | 20 | /* Set the fixed height of the footer here */ 21 | #footer { 22 | height: 60px; 23 | background-color: #f5f5f5; 24 | } 25 | 26 | 27 | /* Custom page CSS 28 | -------------------------------------------------- */ 29 | /* Not required for template or sticky footer method. */ 30 | 31 | #wrap > .container { 32 | padding: 60px 15px 0; 33 | } 34 | .container .credit { 35 | margin: 20px 0; 36 | } 37 | 38 | #footer > .container { 39 | padding-left: 15px; 40 | padding-right: 15px; 41 | } 42 | 43 | code { 44 | font-size: 80%; 45 | } 46 | -------------------------------------------------------------------------------- /libs/bootstrap/examples/sticky-footer/sticky-footer.css: -------------------------------------------------------------------------------- 1 | /* Sticky footer styles 2 | -------------------------------------------------- */ 3 | 4 | html, 5 | body { 6 | height: 100%; 7 | /* The html and body elements cannot have any padding or margin. */ 8 | } 9 | 10 | /* Wrapper for page content to push down footer */ 11 | #wrap { 12 | min-height: 100%; 13 | height: auto; 14 | /* Negative indent footer by its height */ 15 | margin: 0 auto -60px; 16 | /* Pad bottom by footer height */ 17 | padding: 0 0 60px; 18 | } 19 | 20 | /* Set the fixed height of the footer here */ 21 | #footer { 22 | height: 60px; 23 | background-color: #f5f5f5; 24 | } 25 | 26 | 27 | /* Custom page CSS 28 | -------------------------------------------------- */ 29 | /* Not required for template or sticky footer method. */ 30 | 31 | .container { 32 | width: auto; 33 | max-width: 680px; 34 | padding: 0 15px; 35 | } 36 | .container .credit { 37 | margin: 20px 0; 38 | } 39 | -------------------------------------------------------------------------------- /libs/bootstrap/examples/theme/theme.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding-top: 70px; 3 | padding-bottom: 30px; 4 | } 5 | 6 | .theme-dropdown .dropdown-menu { 7 | display: block; 8 | position: static; 9 | margin-bottom: 20px; 10 | } 11 | 12 | .theme-showcase > p > .btn { 13 | margin: 5px 0; 14 | } -------------------------------------------------------------------------------- /libs/bootstrap/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootstrap/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /libs/bootstrap/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootstrap/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /libs/bootstrap/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootstrap/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /libs/bootstrap/js/tests/unit/affix.js: -------------------------------------------------------------------------------- 1 | $(function () { 2 | 3 | module("affix") 4 | 5 | test("should provide no conflict", function () { 6 | var affix = $.fn.affix.noConflict() 7 | ok(!$.fn.affix, 'affix was set back to undefined (org value)') 8 | $.fn.affix = affix 9 | }) 10 | 11 | test("should be defined on jquery object", function () { 12 | ok($(document.body).affix, 'affix method is defined') 13 | }) 14 | 15 | test("should return element", function () { 16 | ok($(document.body).affix()[0] == document.body, 'document.body returned') 17 | }) 18 | 19 | test("should exit early if element is not visible", function () { 20 | var $affix = $('
').affix() 21 | $affix.data('bs.affix').checkPosition() 22 | ok(!$affix.hasClass('affix'), 'affix class was not added') 23 | }) 24 | 25 | }) 26 | -------------------------------------------------------------------------------- /libs/bootstrap/js/tests/unit/scrollspy.js: -------------------------------------------------------------------------------- 1 | $(function () { 2 | 3 | module("scrollspy") 4 | 5 | test("should provide no conflict", function () { 6 | var scrollspy = $.fn.scrollspy.noConflict() 7 | ok(!$.fn.scrollspy, 'scrollspy was set back to undefined (org value)') 8 | $.fn.scrollspy = scrollspy 9 | }) 10 | 11 | test("should be defined on jquery object", function () { 12 | ok($(document.body).scrollspy, 'scrollspy method is defined') 13 | }) 14 | 15 | test("should return element", function () { 16 | ok($(document.body).scrollspy()[0] == document.body, 'document.body returned') 17 | }) 18 | 19 | test("should switch active class on scroll", function () { 20 | var sectionHTML = '
' 21 | , $section = $(sectionHTML).append('#qunit-fixture') 22 | , topbarHTML ='
' 23 | + '
' 24 | + '
' 25 | + '

Bootstrap

' 26 | + '' 29 | + '
' 30 | + '
' 31 | + '
' 32 | , $topbar = $(topbarHTML).scrollspy() 33 | 34 | ok($topbar.find('.active', true)) 35 | }) 36 | 37 | }) 38 | -------------------------------------------------------------------------------- /libs/bootstrap/js/tests/unit/transition.js: -------------------------------------------------------------------------------- 1 | $(function () { 2 | 3 | module("transition") 4 | 5 | test("should be defined on jquery support object", function () { 6 | ok($.support.transition !== undefined, 'transition object is defined') 7 | }) 8 | 9 | test("should provide an end object", function () { 10 | ok($.support.transition ? $.support.transition.end : true, 'end string is defined') 11 | }) 12 | 13 | }) 14 | -------------------------------------------------------------------------------- /libs/bootswatch/assets/css/bootswatch.min.css: -------------------------------------------------------------------------------- 1 | body{padding-top:50px}#banner{border-bottom:0}.page-header h1{font-size:4em}.bs-docs-section{margin-top:8em}.affix{top:70px}footer{margin:5em 0}footer li{float:left;margin-right:1.5em;margin-bottom:1.5em}footer p{clear:left;margin-bottom:0}.splash{background-color:#19232f;background-color:#1c2533;padding:6em 0 2em;color:#fff;text-align:center}.splash .alert{margin:4em 0 2em}.splash h1{font-size:4em}.splash #social{margin-top:6em}.section-tout{padding:4em 0 3em;border-top:1px solid rgba(255,255,255,0.1);border-bottom:1px solid rgba(0,0,0,0.1);background-color:#e2f2f3}.section-tout [class^="icon-"]{margin-right:.5em}.section-tout p{margin-bottom:3em}.section-preview{padding:4em 0 4em}.section-preview .preview{margin-bottom:4em;background-color:#e2f2f3;border:1px solid rgba(0,0,0,0.1);border-radius:6px}.section-preview .preview .image{padding:5px}.section-preview .preview .image img{border:1px solid rgba(0,0,0,0.1)}.section-preview .preview .options{text-align:center;padding:0 2em 2em}.section-preview .preview .options p{margin-bottom:2em}.section-preview .dropdown-menu{text-align:left}.section-preview .lead{margin-bottom:2em}@media(max-width:767px){.section-preview .image img{width:100%}}.bsa .one .bsa_it_ad{border:none!important;background-color:transparent!important}.bsa .one .bsa_it_ad .bsa_it_t,.bsa .one .bsa_it_ad .bsa_it_d{color:inherit!important}.bsa .one .bsa_it_p{display:none} -------------------------------------------------------------------------------- /libs/bootswatch/assets/img/carboncostume.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootswatch/assets/img/carboncostume.png -------------------------------------------------------------------------------- /libs/bootswatch/assets/img/maxcdn.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootswatch/assets/img/maxcdn.gif -------------------------------------------------------------------------------- /libs/bootswatch/assets/img/refs/beautifulwebdesign.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootswatch/assets/img/refs/beautifulwebdesign.png -------------------------------------------------------------------------------- /libs/bootswatch/assets/img/refs/htmlandcss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootswatch/assets/img/refs/htmlandcss.png -------------------------------------------------------------------------------- /libs/bootswatch/assets/img/refs/javascriptandjquery.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootswatch/assets/img/refs/javascriptandjquery.png -------------------------------------------------------------------------------- /libs/bootswatch/assets/img/refs/lesscss.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootswatch/assets/img/refs/lesscss.jpg -------------------------------------------------------------------------------- /libs/bootswatch/assets/js/bootswatch.js: -------------------------------------------------------------------------------- 1 | $('[data-toggle="tooltip"]').tooltip(); -------------------------------------------------------------------------------- /libs/bootswatch/assets/js/bsa.js: -------------------------------------------------------------------------------- 1 | (function(){ 2 | var bsa = document.createElement('script'); 3 | bsa.type = 'text/javascript'; 4 | bsa.async = true; 5 | bsa.src = 'http://s3.buysellads.com/ac/bsa.js'; 6 | (document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(bsa); 7 | })(); -------------------------------------------------------------------------------- /libs/bootswatch/cyborg/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/libs/bootswatch/cyborg/thumbnail.png -------------------------------------------------------------------------------- /music_db_src/.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory":"./libs" 3 | } -------------------------------------------------------------------------------- /music_db_src/.gitignore: -------------------------------------------------------------------------------- 1 | logs 2 | /.idea 3 | node_modules 4 | start_backup.bat 5 | start_github.bat 6 | start_repo.bat 7 | push.bat 8 | backup.bat 9 | 10 | 11 | -------------------------------------------------------------------------------- /music_db_src/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine On 3 | RewriteCond %{REQUEST_FILENAME} !-f 4 | RewriteCond %{REQUEST_FILENAME} !-d 5 | RewriteCond %{REQUEST_URI} !index 6 | RewriteRule (.*) index.html [L] 7 | -------------------------------------------------------------------------------- /music_db_src/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-music-db", 3 | "version": "1.0.0", 4 | "dependencies": { 5 | "angular": "1.2.5", 6 | "angular-animate":"1.2.5", 7 | "angular-mocks":"1.2.5", 8 | "bootstrap-css":"3.0.0", 9 | "bootswatch":"3.0.3", 10 | "angularjs-country-select":"", 11 | "jquery": "2.0.3", 12 | "noty":"2.2.0", 13 | "requirejs":"2.1.9", 14 | "restangular" : "1.2.1", 15 | "spinjs":"1.3.0", 16 | "underscore" :"1.5.2" 17 | } 18 | } -------------------------------------------------------------------------------- /music_db_src/coverage/Chrome 31.0.1650 (Windows 7)/prettify.css: -------------------------------------------------------------------------------- 1 | .pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee} 2 | -------------------------------------------------------------------------------- /music_db_src/css/jumbotron.css: -------------------------------------------------------------------------------- 1 | /* Move down content because we have a fixed navbar that is 50px tall */ 2 | body { 3 | padding-top: 50px; 4 | padding-bottom: 20px; 5 | } 6 | 7 | 8 | -------------------------------------------------------------------------------- /music_db_src/img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/music_db_src/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /music_db_src/img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/music_db_src/img/glyphicons-halflings.png -------------------------------------------------------------------------------- /music_db_src/img/ng-30.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/music_db_src/img/ng-30.png -------------------------------------------------------------------------------- /music_db_src/img/ts-30.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/music_db_src/img/ts-30.png -------------------------------------------------------------------------------- /music_db_src/img/yii-30.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/music_db_src/img/yii-30.png -------------------------------------------------------------------------------- /music_db_src/js/Run.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * File Run.ts in Project Music Database 3 | * Date: October 13 th 2013 , 11:51 AM 4 | * Author Spiros Kabasakalis , kabasakalis@gmail.com 5 | * Github https://github.com/drumaddict 6 | * InfoWebSphere,http://iws.kabasakalis.gr 7 | * YiiLab,http://yiilab.kabasakalis.tk 8 | */ 9 | 10 | /// 11 | 12 | module music_db { 13 | 'use strict'; 14 | export class Run { 15 | 16 | public mod:ng.IModule; 17 | 18 | public static go(mod:ng.IModule) { 19 | //console.log('Run configuration block started'); 20 | 21 | mod. 22 | run( 23 | [ 24 | '$rootScope', 25 | '$state', 26 | 'Resource', 27 | function ($rootScope,$state,Resource) { 28 | $rootScope.$state=$state; 29 | $rootScope.breadcrumbs=new Array(); 30 | $rootScope.APP_BASE_URL = config.Constants.APP_BASE_URL; 31 | $rootScope.APP_NAME = config.Constants.APP_NAME; 32 | }]); //run 33 | } 34 | } 35 | } -------------------------------------------------------------------------------- /music_db_src/js/_refs.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | /// 4 | /// 5 | /// 6 | //// 7 | /// 8 | /// 9 | /// 10 | /// 11 | /// 12 | /// 13 | /// 14 | /// 15 | /// 16 | /// 17 | /// 18 | /// 19 | /// 20 | /// 21 | /// 22 | /// 23 | /// 24 | /// 25 | /// 26 | //// -------------------------------------------------------------------------------- /music_db_src/js/bootstrap.js: -------------------------------------------------------------------------------- 1 | /** 2 | * File bootstrap.js in Project Music Database 3 | * Date: October 12 th 2013 , 3:42 PM 4 | * Author Spiros Kabasakalis , kabasakalis@gmail.com 5 | * Github https://github.com/drumaddict 6 | * InfoWebSphere,http://iws.kabasakalis.gr 7 | * YiiLab,http://yiilab.kabasakalis.tk 8 | */ 9 | 10 | 11 | window.music_db.App.defineModules(); 12 | window.music_db.App.config(); 13 | window.music_db.App.restangularConfig(); 14 | window.music_db.App.run(); 15 | window.music_db.App.start(); 16 | 17 | -------------------------------------------------------------------------------- /music_db_src/js/config/LocationConfig.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * File LocationConfig.ts in Project Music Database 3 | * Date: October 13 th 2013 , 11:51 AM 4 | * Author Spiros Kabasakalis , kabasakalis@gmail.com 5 | * Github https://github.com/drumaddict 6 | * InfoWebSphere,http://iws.kabasakalis.gr 7 | * YiiLab,http://yiilab.kabasakalis.tk 8 | */ 9 | 10 | /// 11 | 12 | module music_db.config { 13 | 'use strict'; 14 | export class LocationConfig { 15 | public mod:ng.IModule; 16 | 17 | constructor() { 18 | throw new Error("Cannot instantiate this Class"); 19 | } 20 | public static configure(mod:ng.IModule) { 21 | //console.log('Location configuration started'); 22 | 23 | mod. 24 | config( 25 | [ '$locationProvider', 26 | function ($locationProvider) { 27 | //commenting out this line (switching to hashbang mode) breaks the app 28 | //-- unless # is added to the templates 29 | $locationProvider.html5Mode(true); 30 | $locationProvider.hashPrefix('!'); 31 | }]); //config 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /music_db_src/js/directives/ExecuteClickOnce.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * File ExecuteClickOnce.ts in Project Music Database 3 | * Date: October 12 th 2013 , 3:39 PM 4 | * Author Spiros Kabasakalis , kabasakalis@gmail.com 5 | * Github https://github.com/drumaddict 6 | * InfoWebSphere,http://iws.kabasakalis.gr 7 | * YiiLab,http://yiilab.kabasakalis.tk 8 | */ 9 | module music_db.dir { 10 | 'use strict'; 11 | export class ExecuteClickOnce { 12 | public static $inject:Array = []; 13 | 14 | static register() { 15 | var directive:ng.IDirective = {}; 16 | directive.restrict = 'A'; 17 | directive.priority = 1; 18 | directive.link = function (scope, iElement, iAttrs) { 19 | $(iElement).one("click", function () { 20 | scope.$apply(iAttrs.executeClickOnce); 21 | }); 22 | } 23 | return directive; 24 | } 25 | 26 | } 27 | } -------------------------------------------------------------------------------- /music_db_src/libs/assets/ico/apple-touch-icon-114-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/music_db_src/libs/assets/ico/apple-touch-icon-114-precomposed.png -------------------------------------------------------------------------------- /music_db_src/libs/assets/ico/apple-touch-icon-144-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/music_db_src/libs/assets/ico/apple-touch-icon-144-precomposed.png -------------------------------------------------------------------------------- /music_db_src/libs/assets/ico/apple-touch-icon-57-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/music_db_src/libs/assets/ico/apple-touch-icon-57-precomposed.png -------------------------------------------------------------------------------- /music_db_src/libs/assets/ico/apple-touch-icon-72-precomposed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/music_db_src/libs/assets/ico/apple-touch-icon-72-precomposed.png -------------------------------------------------------------------------------- /music_db_src/libs/assets/ico/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/music_db_src/libs/assets/ico/favicon.png -------------------------------------------------------------------------------- /music_db_src/libs/assets/raw-files.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/music_db_src/libs/assets/raw-files.js -------------------------------------------------------------------------------- /music_db_src/partials/artist.details.tpl.html: -------------------------------------------------------------------------------- 1 |

{{artist.name}}

2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 32 | 33 | 34 |
Country{{artist.country}}
Year{{artist.year_formed}}
Genre{{artist.genre.name}}
Description{{artist.description}}
24 | Albums 26 | 27 | Edit 28 | 29 | Back To Artists 30 | 31 |
35 | 36 | 37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /music_db_src/test/karma-unit.conf.js: -------------------------------------------------------------------------------- 1 | module.exports = function (config) { 2 | config.set({ 3 | files: [ 4 | 'libs/angular/angular.js', 5 | 'libs/angular-ui-router/angular-ui-router_0312.js', 6 | 'libs/angular-mocks/angular-mocks.js', 7 | 'libs/restangular/dist/restangular.js', 8 | 'libs/underscore/underscore.js', 9 | 'libs/angular-table/angular-table.js', 10 | 'libs/angular-animate/angular-animate.js', 11 | 'libs/angularjs-country-select/angular.country-select.js', 12 | 'libs/spinjs/spin.js', 13 | 'libs/jquery/jquery.js', 14 | 'libs/toastr/toastr.js', 15 | 'js/app.js', 16 | 'test/unit/**/*.js' 17 | ], 18 | basePath: '../', 19 | frameworks: ['jasmine'], 20 | reporters: ['progress'], 21 | browsers: ['Chrome'], 22 | autoWatch: false, 23 | singleRun: true, 24 | colors: true 25 | }); 26 | }; -------------------------------------------------------------------------------- /protected/.htaccess: -------------------------------------------------------------------------------- 1 | deny from all 2 | -------------------------------------------------------------------------------- /protected/config/console.php: -------------------------------------------------------------------------------- 1 | dirname(__FILE__).DIRECTORY_SEPARATOR.'..', 7 | 'name'=>'My Console Application', 8 | 'import'=>array( 9 | 'application.models.*', 10 | // 'application.components.*', 11 | // 'application.extensions.yiibooster.components.*' 12 | ), 13 | // application components 14 | 'components'=>array( 15 | /* 'db'=>array( 16 | 'connectionString' => 'sqlite:'.dirname(__FILE__).'/../data/testdrive.db', 17 | ),*/ 18 | // uncomment the following to use a MySQL database 19 | 'db'=>array( 20 | 'class' => 'CDbConnection', 21 | 'connectionString' => 'mysql:host=[LOCALHOST];dbname=[DBNAME]', 22 | 'username' => '[USERNAME]', 23 | 'password' => '[PASSWORD]', 24 | 'charset' => 'UTF8', 25 | 'tablePrefix' => '', // even empty table prefix required!!! 26 | 'emulatePrepare' => true, 27 | 'enableProfiling' => true, 28 | 'schemaCacheID' => 'cache', 29 | 'queryCacheID' => 'cache', 30 | 'schemaCachingDuration' => 120 31 | ), 32 | 33 | ) 34 | 35 | ); -------------------------------------------------------------------------------- /protected/config/test.php: -------------------------------------------------------------------------------- 1 | array( 7 | 'fixture'=>array( 8 | 'class'=>'system.test.CDbFixtureManager', 9 | ), 10 | /* uncomment the following to provide test database connection 11 | 'db'=>array( 12 | 'connectionString'=>'DSN for test database', 13 | ), 14 | */ 15 | ), 16 | ) 17 | ); 18 | -------------------------------------------------------------------------------- /protected/data/testdrive.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/protected/data/testdrive.db -------------------------------------------------------------------------------- /protected/extensions/bootstrap/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2013, Christoffer Niska 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright 7 | notice, this list of conditions and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright 9 | notice, this list of conditions and the following disclaimer in the 10 | documentation and/or other materials provided with the distribution. 11 | * Neither the name of the Christoffer Niska nor the 12 | names of its contributors may be used to endorse or promote products 13 | derived from this software without specific prior written permission. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 16 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 17 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 18 | DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY 19 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 20 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 21 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 22 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 24 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------------------- /protected/extensions/bootstrap/README.md: -------------------------------------------------------------------------------- 1 | Yiistrap 2 | ======== 3 | 4 | [![Latest Stable Version](https://poser.pugx.org/crisu83/yiistrap/v/stable.png)](https://packagist.org/packages/crisu83/yiistrap) 5 | [![Build Status](https://travis-ci.org/Crisu83/yiistrap.png)](https://travis-ci.org/Crisu83/yiistrap) 6 | 7 | Twitter Bootstrap for Yii. -------------------------------------------------------------------------------- /protected/extensions/bootstrap/components/KTbApi.php: -------------------------------------------------------------------------------- 1 | 5 | * Date: 11/18/12 6 | * Time: 9:36 AM 7 | * Get the assets folder out from protected and into the webroot,so we don't have to publish it. 8 | * This is my personal preference,I hate "publishing assets".:P 9 | * And support Bootswatch themes (http://bootswatch.com/) 10 | */ 11 | 12 | class KTbapi extends TbApi 13 | { 14 | 15 | 16 | 17 | /** PARENT 18 | * Registers the Bootstrap CSS. 19 | * @param string $url the URL to the CSS file to register. 20 | */ 21 | public function registerCoreCss($url = null) 22 | { 23 | if ($url === null) { 24 | if (app()->params['bootswatch2_skin']=='none') { 25 | $fileName = YII_DEBUG ? 'bootstrap.css' : 'bootstrap.min.css'; 26 | $url = $this->getAssetsUrl() . '/css/' . $fileName; 27 | } else 28 | $url = bu().'/libs/bootswatch/2/'.app()->params['bootswatch2_skin'].'/bootstrap.min.css'; 29 | 30 | } 31 | Yii::app()->clientScript->registerCssFile($url); 32 | } 33 | 34 | protected function getAssetsUrl() 35 | { 36 | if (isset($this->_assetsUrl)) { 37 | return $this->_assetsUrl; 38 | } else { 39 | $assetsPath = Yii::getPathOfAlias('webroot.yiistrap_assets'); 40 | $assetsUrl=bu().'/yiistrap_assets'; 41 | return $this->_assetsUrl = $assetsUrl; 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /protected/extensions/bootstrap/gii/bootstrap/BootstrapGenerator.php: -------------------------------------------------------------------------------- 1 | 5 | * @copyright Copyright © Christoffer Niska 2013- 6 | * @license http://www.opensource.org/licenses/bsd-license.php New BSD License 7 | * @package bootstrap.gii 8 | */ 9 | 10 | Yii::import('gii.generators.crud.CrudGenerator'); 11 | 12 | class BootstrapGenerator extends CrudGenerator 13 | { 14 | public $codeModel = 'bootstrap.gii.bootstrap.BootstrapCode'; 15 | } -------------------------------------------------------------------------------- /protected/extensions/bootstrap/gii/bootstrap/templates/default/_search.php: -------------------------------------------------------------------------------- 1 | 7 | 8 | /* @var $this getControllerClass(); ?> */ 9 | /* @var $model getModelClass(); ?> */ 10 | /* @var $form CActiveForm */ 11 | \n"; ?> 12 | 13 |
14 | 15 | beginWidget('bootstrap.widgets.TbActiveForm', array( 16 | 'action'=>Yii::app()->createUrl(\$this->route), 17 | 'method'=>'get', 18 | )); ?>\n"; ?> 19 | 20 | tableSchema->columns as $column): ?> 21 | generateInputField($this->modelClass, $column); 23 | if (strpos($field, 'password') !== false) { 24 | continue; 25 | } 26 | ?> 27 | generateActiveControlGroup($this->modelClass, $column) . "; ?>\n"; ?> 28 | 29 | 30 |
31 | TbHtml::BUTTON_COLOR_PRIMARY,));?>\n" ?> 32 |
33 | 34 | endWidget(); ?>\n"; ?> 35 | 36 |
-------------------------------------------------------------------------------- /protected/extensions/bootstrap/gii/bootstrap/templates/default/_view.php: -------------------------------------------------------------------------------- 1 | 7 | 8 | /* @var $this getControllerClass(); ?> */ 9 | /* @var $data getModelClass(); ?> */ 10 | \n"; ?> 11 | 12 |
13 | 14 | getAttributeLabel('{$this->tableSchema->primaryKey}')); ?>:\n"; 16 | echo "\t{$this->tableSchema->primaryKey}),array('view','id'=>\$data->{$this->tableSchema->primaryKey})); ?>\n\t
\n\n"; 17 | $count = 0; 18 | foreach ($this->tableSchema->columns as $column) { 19 | if ($column->isPrimaryKey) { 20 | continue; 21 | } 22 | if (++$count == 7) { 23 | echo "\tgetAttributeLabel('{$column->name}')); ?>:\n"; 26 | echo "\t{$column->name}); ?>\n\t
\n\n"; 27 | } 28 | if ($count >= 7) { 29 | echo "\t*/ ?>\n"; 30 | } 31 | ?> 32 | 33 |
-------------------------------------------------------------------------------- /protected/extensions/bootstrap/gii/bootstrap/templates/default/create.php: -------------------------------------------------------------------------------- 1 | 7 | 8 | /* @var $this getControllerClass(); ?> */ 9 | /* @var $model getModelClass(); ?> */ 10 | \n"; ?> 11 | 12 | pluralize($this->class2name($this->modelClass)); 15 | echo "\$this->breadcrumbs=array( 16 | '$label'=>array('index'), 17 | 'Create', 18 | );\n"; 19 | ?> 20 | 21 | $this->menu=array( 22 | array('label'=>'List modelClass; ?>', 'url'=>array('index')), 23 | array('label'=>'Manage modelClass; ?>', 'url'=>array('admin')), 24 | ); 25 | ?> 26 | 27 |

Create modelClass; ?>

28 | 29 | renderPartial('_form', array('model'=>\$model)); ?>"; ?> -------------------------------------------------------------------------------- /protected/extensions/bootstrap/gii/bootstrap/templates/default/index.php: -------------------------------------------------------------------------------- 1 | 7 | 8 | /* @var $this getControllerClass(); ?> */ 9 | /* @var $dataProvider CActiveDataProvider */ 10 | \n"; ?> 11 | 12 | pluralize($this->class2name($this->modelClass)); 15 | echo "\$this->breadcrumbs=array( 16 | '$label', 17 | );\n"; 18 | ?> 19 | 20 | $this->menu=array( 21 | array('label'=>'Create modelClass; ?>','url'=>array('create')), 22 | array('label'=>'Manage modelClass; ?>','url'=>array('admin')), 23 | ); 24 | ?> 25 | 26 |

27 | 28 | $this->widget('bootstrap.widgets.TbListView',array( 29 | 'dataProvider'=>$dataProvider, 30 | 'itemView'=>'_view', 31 | )); ?> -------------------------------------------------------------------------------- /protected/extensions/bootstrap/gii/bootstrap/templates/default/update.php: -------------------------------------------------------------------------------- 1 | 7 | 8 | /* @var $this getControllerClass(); ?> */ 9 | /* @var $model getModelClass(); ?> */ 10 | \n"; ?> 11 | 12 | guessNameColumn($this->tableSchema->columns); 15 | $label = $this->pluralize($this->class2name($this->modelClass)); 16 | echo "\$this->breadcrumbs=array( 17 | '$label'=>array('index'), 18 | \$model->{$nameColumn}=>array('view','id'=>\$model->{$this->tableSchema->primaryKey}), 19 | 'Update', 20 | );\n"; 21 | ?> 22 | 23 | $this->menu=array( 24 | array('label'=>'List modelClass; ?>', 'url'=>array('index')), 25 | array('label'=>'Create modelClass; ?>', 'url'=>array('create')), 26 | array('label'=>'View modelClass; ?>', 'url'=>array('view', 'id'=>$model->tableSchema->primaryKey; ?>)), 27 | array('label'=>'Manage modelClass; ?>', 'url'=>array('admin')), 28 | ); 29 | ?> 30 | 31 |

Update modelClass . " {$this->tableSchema->primaryKey}; ?>"; ?>

32 | 33 | renderPartial('_form', array('model'=>\$model)); ?>"; ?> -------------------------------------------------------------------------------- /protected/extensions/bootstrap/tests/_bootstrap.php: -------------------------------------------------------------------------------- 1 | 6 | * @author Christoffer Niska 7 | * @copyright Copyright © Sam Stenvall 2013- 8 | * @license http://www.opensource.org/licenses/bsd-license.php New BSD License 9 | * @package bootstrap.widgets 10 | */ 11 | Yii::import('zii.widgets.CDetailView'); 12 | 13 | /** 14 | * Bootstrap Zii detail widget. 15 | */ 16 | class TbDetailView extends CDetailView 17 | { 18 | /** 19 | * @var string|array the detail view style. 20 | * Valid values are TbHtml::DETAIL_STRIPED, TbHtml::DETAIL_BORDERED, TbHtml::DETAIL_CONDENSED and/or TbHtml::DETAIL_HOVER. 21 | */ 22 | public $type = array(TbHtml::DETAIL_TYPE_STRIPED, TbHtml::DETAIL_TYPE_CONDENSED); 23 | /** 24 | * @var string the URL of the CSS file used by this grid view. 25 | * Defaults to false, meaning that no CSS will be included. 26 | */ 27 | public $cssFile = false; 28 | 29 | /** 30 | * Initializes the widget. 31 | */ 32 | public function init() 33 | { 34 | parent::init(); 35 | $classes = array('table'); 36 | if (!empty($this->type)) { 37 | if (is_string($this->type)) { 38 | $this->type = explode(' ', $this->type); 39 | } 40 | 41 | foreach ($this->type as $type) { 42 | $classes[] = 'table-' . $type; 43 | } 44 | } 45 | TbHtml::addCssClass($classes, $this->htmlOptions); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /protected/extensions/mailer/phpmailer/language/phpmailer.lang-ch.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /protected/extensions/mailer/phpmailer/language/phpmailer.lang-ja.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /protected/extensions/mailer/phpmailer/language/phpmailer.lang-no.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /protected/extensions/mailer/phpmailer/language/phpmailer.lang-zh.php: -------------------------------------------------------------------------------- 1 | 6 | */ 7 | 8 | $PHPMAILER_LANG['authenticate'] = 'SMTP 錯誤:登錄失敗。'; 9 | $PHPMAILER_LANG['connect_host'] = 'SMTP 錯誤:無法連接到 SMTP 主機。'; 10 | $PHPMAILER_LANG['data_not_accepted'] = 'SMTP 錯誤:數據不被接受。'; 11 | //$PHPMAILER_LANG['empty_message'] = 'Message body empty'; 12 | $PHPMAILER_LANG['encoding'] = '未知編碼: '; 13 | $PHPMAILER_LANG['file_access'] = '無法訪問文件:'; 14 | $PHPMAILER_LANG['file_open'] = '文件錯誤:無法打開文件:'; 15 | $PHPMAILER_LANG['from_failed'] = '發送地址錯誤:'; 16 | $PHPMAILER_LANG['execute'] = '無法執行:'; 17 | $PHPMAILER_LANG['instantiate'] = '未知函數調用。'; 18 | //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: '; 19 | $PHPMAILER_LANG['provide_address'] = '必須提供至少一個收件人地址。'; 20 | $PHPMAILER_LANG['mailer_not_supported'] = '發信客戶端不被支持。'; 21 | $PHPMAILER_LANG['recipients_failed'] = 'SMTP 錯誤:收件人地址錯誤:'; 22 | //$PHPMAILER_LANG['signing'] = 'Signing Error: '; 23 | //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.'; 24 | //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: '; 25 | //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: '; 26 | ?> -------------------------------------------------------------------------------- /protected/extensions/mailer/phpmailer/language/phpmailer.lang-zh_cn.php: -------------------------------------------------------------------------------- 1 | 6 | */ 7 | 8 | $PHPMAILER_LANG['authenticate'] = 'SMTP 错误:登录失败。'; 9 | $PHPMAILER_LANG['connect_host'] = 'SMTP 错误:无法连接到 SMTP 主机。'; 10 | $PHPMAILER_LANG['data_not_accepted'] = 'SMTP 错误:数据不被接受。'; 11 | //$P$PHPMAILER_LANG['empty_message'] = 'Message body empty'; 12 | $PHPMAILER_LANG['encoding'] = '未知编码: '; 13 | $PHPMAILER_LANG['execute'] = '无法执行:'; 14 | $PHPMAILER_LANG['file_access'] = '无法访问文件:'; 15 | $PHPMAILER_LANG['file_open'] = '文件错误:无法打开文件:'; 16 | $PHPMAILER_LANG['from_failed'] = '发送地址错误:'; 17 | $PHPMAILER_LANG['instantiate'] = '未知函数调用。'; 18 | //$PHPMAILER_LANG['invalid_email'] = 'Not sending, email address is invalid: '; 19 | $PHPMAILER_LANG['mailer_not_supported'] = '发信客户端不被支持。'; 20 | $PHPMAILER_LANG['provide_address'] = '必须提供至少一个收件人地址。'; 21 | $PHPMAILER_LANG['recipients_failed'] = 'SMTP 错误:收件人地址错误:'; 22 | //$PHPMAILER_LANG['signing'] = 'Signing Error: '; 23 | //$PHPMAILER_LANG['smtp_connect_failed'] = 'SMTP Connect() failed.'; 24 | //$PHPMAILER_LANG['smtp_error'] = 'SMTP server error: '; 25 | //$PHPMAILER_LANG['variable_set'] = 'Cannot set or reset variable: '; 26 | ?> -------------------------------------------------------------------------------- /protected/extensions/passwordbehavior/AHashPasswordStrategy.php: -------------------------------------------------------------------------------- 1 | hashMethod,array(uniqid("",true))); 33 | } 34 | 35 | /** 36 | * Encode a plain text password. 37 | * Child classes should implement this method and do their encoding here 38 | * @param string $password the plain text password to encode 39 | * @return string the encoded password 40 | */ 41 | public function encode($password) 42 | { 43 | $hash = $this->getSalt()."###".$password; 44 | for($i = 0; $i < $this->workFactor; $i++) { 45 | $hash = call_user_func_array($this->hashMethod,array($hash)); 46 | } 47 | return $hash; 48 | } 49 | 50 | } -------------------------------------------------------------------------------- /protected/extensions/passwordbehavior/ALegacyMd5PasswordStrategy.php: -------------------------------------------------------------------------------- 1 | getSalt(true); 15 | $password = "qwerty1"; 16 | $this->assertFalse($strategy->compare("test",$strategy->encode($password))); 17 | $this->assertTrue($strategy->compare("qwerty1",$strategy->encode($password))); 18 | } 19 | 20 | 21 | } 22 | -------------------------------------------------------------------------------- /protected/extensions/recaptcha/reCAPTCHA/LICENCE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2007 reCAPTCHA -- http://recaptcha.net 2 | AUTHORS: 3 | Mike Crawford 4 | Ben Maurer 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in 14 | all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | THE SOFTWARE. -------------------------------------------------------------------------------- /protected/extensions/starship/RestfullYii/actions/ERestActionProvider.php: -------------------------------------------------------------------------------- 1 | 'RestfullYii.actions.EActionRestGET', 27 | 'PUT'=>'RestfullYii.actions.EActionRestPUT', 28 | 'POST'=>'RestfullYii.actions.EActionRestPOST', 29 | 'DELETE'=>'RestfullYii.actions.EActionRestDELETE', 30 | ]; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /protected/extensions/starship/RestfullYii/components/ERestRequestReader.php: -------------------------------------------------------------------------------- 1 | filename = $filename; 26 | } 27 | 28 | /** 29 | * getContents 30 | * 31 | * Read the request data 32 | * 33 | * @return (mixed) request data 34 | */ 35 | public function getContents() { 36 | if(is_resource($this->filename)) { 37 | rewind($this->filename); 38 | return stream_get_contents($this->filename); 39 | } 40 | return file_get_contents($this->filename); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /protected/extensions/starship/RestfullYii/components/iERestResourceHelper.php: -------------------------------------------------------------------------------- 1 | broken) { 51 | switch(static::$configurationType) 52 | { 53 | default: 54 | return array( 55 | 'posts' => array(self::MANY_MANY, 'Post', 'tbl_post_category(category_id, post_id)'), 56 | ); 57 | } 58 | } 59 | return array( 60 | 'posts' => array(self::MANY_MANY, 'Post', 'tbl_post_category'), 61 | ); 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /protected/extensions/starship/RestfullYii/tests/WebTestCase.php: -------------------------------------------------------------------------------- 1 | setBrowserUrl(TEST_BASE_URL); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /protected/extensions/starship/RestfullYii/tests/bootstrap.php: -------------------------------------------------------------------------------- 1 | setControllerPath(dirname(__FILE__).'/MockObjs/controllers'); 13 | -------------------------------------------------------------------------------- /protected/extensions/starship/RestfullYii/tests/phpunit.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /protected/extensions/starship/RestfullYii/tests/unit/ERestActionProviderUnitTest.php: -------------------------------------------------------------------------------- 1 | 'RestfullYii.actions.EActionRestGET', 20 | 'PUT'=>'RestfullYii.actions.EActionRestPUT', 21 | 'POST'=>'RestfullYii.actions.EActionRestPOST', 22 | 'DELETE'=>'RestfullYii.actions.EActionRestDELETE', 23 | ]; 24 | 25 | /** 26 | * actions 27 | * 28 | * tests ERestActionProvider::actions() 29 | */ 30 | public function testActions() 31 | { 32 | $this->assertArraysEqual($this->actions, ERestActionProvider::actions()); 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /protected/extensions/starship/RestfullYii/vendors/activerecord-relation-behavior/.gitignore: -------------------------------------------------------------------------------- 1 | tmp/* 2 | yii 3 | -------------------------------------------------------------------------------- /protected/extensions/starship/RestfullYii/vendors/activerecord-relation-behavior/.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | php: 3 | # - 5.2 4 | - 5.3 5 | - 5.4 6 | - 5.5 7 | 8 | env: 9 | - DB=mysql 10 | - DB=pgsql 11 | - DB=sqlite 12 | 13 | # execute any number of scripts before the test run, custom env's are available as variables 14 | before_script: 15 | - git clone --depth=1 https://github.com/yiisoft/yii.git yii 16 | - if [[ "$DB" == "pgsql" ]]; then psql -c "CREATE DATABASE test;" -U postgres; fi 17 | - if [[ "$DB" == "mysql" ]]; then mysql -e "CREATE DATABASE IF NOT EXISTS test;" -uroot; fi 18 | 19 | script: phpunit --colors EActiveRecordRelationBehaviorTest.php 20 | 21 | notifications: 22 | email: "mail@cebe.cc" 23 | -------------------------------------------------------------------------------- /protected/extensions/starship/RestfullYii/vendors/activerecord-relation-behavior/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "yiiext/activerecord-relation-behavior", 3 | "description": "Inspired by and put together the awesomeness of many yii extensions that aim to improve saving of related records. Comes with 100% test coverage and well structured and clean code so it can safely be used in enterprise production environment.", 4 | "keywords": ["yii", "extension", "active-record"], 5 | "homepage": "https://github.com/yiiext/activerecord-relation-behavior", 6 | "type": "yii-extension", 7 | "license": "BSD-3-Clause", 8 | "authors": [ 9 | { 10 | "name": "Carsten Brandt", 11 | "email": "mail@cebe.cc" 12 | } 13 | ], 14 | "require": { 15 | "php": ">=5.1.0", 16 | "yiisoft/yii": ">=1.1.6" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /protected/extensions/starship/RestfullYii/views/api/output.php: -------------------------------------------------------------------------------- 1 | widget('RestfullYii.widgets.ERestJSONOutputWidget', array( 3 | 'type' =>(isset($type)? $type: 'raw'), 4 | 'success' =>(isset($success)? $success: true), 5 | 'message' =>(isset($message)? $message: ""), 6 | 'totalCount' =>(isset($totalCount)? $totalCount: ""), 7 | 'modelName' =>(isset($modelName)? $modelName: null), 8 | 'visibleProperties' =>(isset($visibleProperties)? $visibleProperties: null), 9 | 'hiddenProperties' =>(isset($hiddenProperties)? $hiddenProperties: null), 10 | 'data' =>(isset($data)? $data: null), 11 | 'relations' =>(isset($relations)? $relations: []), 12 | 'errorCode' =>(isset($errorCode)? $errorCode: null), 13 | )); 14 | -------------------------------------------------------------------------------- /protected/extensions/starship/RestfullYii/views/layouts/json.php: -------------------------------------------------------------------------------- 1 | getHttpStatus()); 5 | echo $content; 6 | -------------------------------------------------------------------------------- /protected/models/EmailForm.php: -------------------------------------------------------------------------------- 1 | 6 | * Date: 11/15/12 7 | * Time: 22:46 PM 8 | */ 9 | 10 | class EmailForm extends CFormModel { 11 | 12 | public $email; 13 | 14 | /** 15 | * Model rules 16 | * @return array 17 | */ 18 | public function rules() { 19 | return array( 20 | array('email', 'required'), 21 | array('email', 'email'), 22 | array('email', 'length', 'max' =>User::EMAIL_MAX), 23 | array('email', 'exist', 'className' => 'User'), 24 | ); 25 | } 26 | 27 | /** 28 | * Returns attribute labels 29 | * @return array 30 | */ 31 | public function attributeLabels() { 32 | return array( 33 | 'email' => Yii::t('labels', 'Email'), 34 | ); 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /protected/models/PasswordResetForm.php: -------------------------------------------------------------------------------- 1 | 6 | * Date: 11/15/12 7 | * Time: 22:46 PM 8 | */ 9 | 10 | class PasswordResetForm extends CFormModel { 11 | 12 | public $password; 13 | public $key; 14 | public $email; 15 | 16 | /** 17 | * Model rules 18 | * @return array 19 | */ 20 | public function rules() { 21 | return array( 22 | array('password', 'required'), 23 | array('password', 'length', 'max' => User::PASSWORD_MAX, 'min' =>User::PASSWORD_MIN), 24 | ); 25 | } 26 | 27 | /** 28 | * Returns attribute labels 29 | * @return array 30 | */ 31 | public function attributeLabels() { 32 | return array( 33 | 'email' => Yii::t('labels', 'Email'), 34 | ); 35 | } 36 | 37 | } 38 | -------------------------------------------------------------------------------- /protected/vendors/Codeigniter/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /protected/vendors/firephp/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License: http://www.opensource.org/licenses/mit-license.php 2 | 3 | Copyright (c) 2008-2010 Christoph Dorn 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/FeedCache/.gitignore: -------------------------------------------------------------------------------- 1 | cache.txt -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/Quickstart/Groups.php: -------------------------------------------------------------------------------- 1 | console(); 9 | 10 | 11 | $console->log('Ungrouped message 1'); 12 | $console->log('Ungrouped message 2'); 13 | 14 | $console->group('group1')->open(); 15 | $console->log('Group 1'); // Group Label 16 | 17 | $console->log('Group 1 message 1'); 18 | $console->info('Group 1 message 2'); 19 | 20 | $group2 = $console->group('group2'); 21 | $group2->log('Group 2'); // Group Label 22 | $group2->log('Group 2 message 1'); 23 | 24 | $console->warn('Group 1 message 3'); 25 | 26 | $console->group('group1')->close(); 27 | 28 | 29 | $group3 = $console->group('group3'); 30 | $group3->log('Group 3'); // Group Label 31 | $group3->log('Group 3 message 1'); 32 | 33 | $console->log('Ungrouped message 3'); 34 | 35 | $group2->error('Group 2 message 2'); 36 | $group3->trace('Group 3 message 2'); 37 | 38 | 39 | highlight_file(__FILE__); -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/Quickstart/MessagePriorities.php: -------------------------------------------------------------------------------- 1 | console(); 9 | 10 | 11 | $console->log('Log Message'); 12 | $console->info('Info message'); 13 | $console->warn('Warning message'); 14 | $console->error('Error message'); 15 | 16 | 17 | highlight_file(__FILE__); -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/Quickstart/ServerScript.php: -------------------------------------------------------------------------------- 1 | console(); 9 | 10 | $table = array(); 11 | $table[] = array('Row 1 Column 1', 'Row 1 Column 2'); 12 | $table[] = array('Row 2 Column 1', 'Row 2 Column 2'); 13 | $console->table('Sample Table', $table, array('Column 1', 'Column 2')); 14 | 15 | $obj = new stdClass(); 16 | $obj->key1 = 'Value 1'; 17 | $obj->key2 = 'Value 2'; 18 | $console->table('Object', $obj, array('Name', 'Value')); 19 | 20 | $console->table('INI Options', getOptions(), array('Extension', 'Name', 'Global', 'Local')); 21 | 22 | function getOptions() { 23 | $options = array(); 24 | foreach( ini_get_all() as $name => $info ) { 25 | $parts = explode(".", $name); 26 | $options[] = array( 27 | (count($parts)==1)?"":$parts[0], 28 | (count($parts)==1)?$parts[0]:$parts[1], 29 | $info['global_value'], 30 | $info['local_value'] 31 | ); 32 | } 33 | return $options; 34 | } 35 | 36 | highlight_file(__FILE__); -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/Quickstart/_init_.php: -------------------------------------------------------------------------------- 1 | fb('Hello World'); 7 | $firephp->fb('Hello World', 'Label'); 8 | 9 | $firephp->dump('key', 'value'); 10 | 11 | $firephp->log('log'); 12 | $firephp->log('log', 'Label'); 13 | 14 | $firephp->info('info'); 15 | $firephp->info('info', 'Label'); 16 | 17 | $firephp->warn('warn'); 18 | $firephp->warn('warn', 'Label'); 19 | 20 | $firephp->error('err'); 21 | $firephp->error('err', 'Label'); 22 | 23 | $firephp->trace('Trace to here'); 24 | $firephp->fb('Trace to here','',FirePHP::TRACE); 25 | 26 | $firephp->table('Test Table',array(array('header'),array('row'))); 27 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/classic-firebug/AllVariableTypes.php: -------------------------------------------------------------------------------- 1 | fb('string'); 7 | $firephp->fb('string','Label'); 8 | $firephp->fb(true); 9 | $firephp->fb(true,'Label'); 10 | $firephp->fb(false); 11 | $firephp->fb(false,'Label'); 12 | $firephp->fb(null); 13 | $firephp->fb(null,'Label'); 14 | $firephp->fb(1); 15 | $firephp->fb(1,'Label'); 16 | $firephp->fb(1.1); 17 | $firephp->fb(1.1,'Label'); 18 | 19 | 20 | $array = array(); 21 | $array['key1'] = 'string'; 22 | $array['key2'] = true; 23 | $array['key3'] = false; 24 | $array['key4'] = null; 25 | $array['key5'] = 1; 26 | $array['key6'] = 1.1; 27 | $array['key7'] = array(); 28 | $array['key8'] = array('string'); 29 | $array['key9'] = array('key'=>'value'); 30 | $array['key10'] = new TestObject(); 31 | $array[1] = 'string'; 32 | $array['resource'] = tmpfile(); 33 | 34 | $obj = new TestObject(); 35 | $obj->child = new TestObject(); 36 | 37 | $array[99] = $obj; 38 | $array[] = 'Append'; 39 | 40 | $firephp->fb($array); 41 | $firephp->fb($array, 'Label'); 42 | 43 | $firephp->fb(new TestObject()); 44 | 45 | $firephp->fb(array('key'=>'value')); 46 | $firephp->fb(array('string',true,false,10,1.1)); 47 | 48 | 49 | class TestObject { 50 | 51 | var $member1 = 'string'; 52 | var $member2 = true; 53 | var $member3 = false; 54 | var $member4 = null; 55 | var $member5 = 1; 56 | var $member6 = 1.1; 57 | var $member7 = array(); 58 | var $member8 = array('string'); 59 | 60 | } 61 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/classic-firebug/BasicLoggingObjectOriented.php: -------------------------------------------------------------------------------- 1 | setOptions(array('includeLineNumbers'=>false)); 6 | 7 | 8 | $firephp->fb('Hello World'); /* Defaults to FirePHP::LOG */ 9 | 10 | $firephp->fb('Log message' ,FirePHP::LOG); 11 | $firephp->fb('Info message' ,FirePHP::INFO); 12 | $firephp->fb('Warn message' ,FirePHP::WARN); 13 | $firephp->fb('Error message',FirePHP::ERROR); 14 | 15 | $firephp->fb(true); 16 | 17 | $firephp->fb('Message with label','Label',FirePHP::LOG); 18 | 19 | $firephp->fb(array('key1'=>'val1', 20 | 'key2'=>array(array('v1','v2'),'v3')), 21 | 'TestArray',FirePHP::LOG); 22 | 23 | function test($Arg1) { 24 | throw new Exception('Test Exception'); 25 | } 26 | try { 27 | test(array('Hello'=>'World')); 28 | } catch(Exception $e) { 29 | /* Log exception including stack trace & variables */ 30 | $firephp->fb($e); 31 | } 32 | 33 | $firephp->fb('Backtrace to here',FirePHP::TRACE); 34 | 35 | $firephp->fb(array('2 SQL queries took 0.06 seconds',array( 36 | array('SQL Statement','Time','Result'), 37 | array('SELECT * FROM Foo','0.02',array('row1','row2')), 38 | array('SELECT * FROM Bar','0.04',array('row1','row2')) 39 | )),FirePHP::TABLE); 40 | 41 | $firephp->fb(phpversion(), 'PHP Version', FirePHP::DUMP); 42 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/classic-firebug/BasicLoggingProcedural.php: -------------------------------------------------------------------------------- 1 | 'val1', 13 | 'key2'=>array(array('v1','v2'),'v3')), 14 | 'TestArray',FirePHP::LOG); 15 | 16 | function test($Arg1) { 17 | throw new Exception('Test Exception'); 18 | } 19 | try { 20 | test(array('Hello'=>'World')); 21 | } catch(Exception $e) { 22 | /* Log exception including stack trace & variables */ 23 | fb($e); 24 | } 25 | 26 | fb('Backtrace to here',FirePHP::TRACE); 27 | 28 | fb(array('2 SQL queries took 0.06 seconds',array( 29 | array('SQL Statement','Time','Result'), 30 | array('SELECT * FROM Foo','0.02',array('row1','row2')), 31 | array('SELECT * FROM Bar','0.04',array('row1','row2')) 32 | )),FirePHP::TABLE); 33 | 34 | fb(phpversion(), 'PHP Version', FirePHP::DUMP); 35 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/classic-firebug/ComplexTable.php: -------------------------------------------------------------------------------- 1 | Value for column 1

'; 15 | $row[] = 'This is a very long value for column 2.'."\n\n".' kjhsdgf ksd sadkfhgsadhfs adfjhksagdfkhjsadgf sakjhdfgasdhkfgsjhakdf jkhsadfggksadfg iweafiuwaehfiulawhef liawefiluhawefiuhwaeiufl iulhaweiuflhwailuefh iluwahefiluawhefuiawefh lwaieufhwaiulefhawef liawuefhawiluefhawfl'; 16 | $row[] = '

First paragraph

'."\n".'

Second paragraph

'; 17 | $table[] = $row; 18 | 19 | 20 | $row = array(); 21 | $row[] = 'Object and Array'; 22 | $row[] = new TestObject(); 23 | $row[] = array('key1'=>'val1','key2'=>'val2'); 24 | $table[] = $row; 25 | 26 | 27 | $firephp->fb(array('This is the table label',$table), 28 | FirePHP::TABLE); 29 | $firephp->fb($table, 'This is the table label', 30 | FirePHP::TABLE); 31 | $firephp->table('This is the table label', $table); 32 | 33 | 34 | 35 | 36 | class TestObject { 37 | 38 | var $member1 = 'string'; 39 | var $member2 = true; 40 | var $member3 = false; 41 | var $member4 = null; 42 | var $member5 = 1; 43 | var $member6 = 1.1; 44 | var $member7 = array(); 45 | var $member8 = array('string'); 46 | 47 | } -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/classic-firebug/ComplexVariableValues.php: -------------------------------------------------------------------------------- 1 | Test Paragraph

'; 8 | $array['html2'] = '

Test Paragraph

'."\n".'

Another paragraph on a new line

'; 9 | $array['html3'] = '

jhgjhgf ghj hg hgfhgfh hgjvhgjfhgj h hgfhjgfhjg ghhgjfghf hgfhgfhgfhg hgfhgfhgf hgfhgjftfitf yt76i f tf76t67r76 7 76f7if 6f67f i76ff

'; 10 | 11 | $firephp->fb($array); 12 | 13 | $testArray = array('key'=>'value'); 14 | 15 | $firephp->fb($testArray ,FirePHP::LOG); 16 | $firephp->fb($testArray ,FirePHP::INFO); 17 | $firephp->fb($testArray ,FirePHP::WARN); 18 | $firephp->fb($testArray,FirePHP::ERROR); 19 | 20 | $firephp->fb('Test line 1'."\n".'Test Line 2' ,FirePHP::INFO); 21 | 22 | $firephp->fb('Log message', 'Label' ,FirePHP::LOG); 23 | $firephp->fb('Info message', 'Label' ,FirePHP::INFO); 24 | $firephp->fb('Warn message', 'Label' ,FirePHP::WARN); 25 | $firephp->fb('Error message', 'Label',FirePHP::ERROR); 26 | 27 | 28 | 29 | $firephp->fb(array('one','two','three')); 30 | $firephp->fb(array(0=>'one', 1=>'two', 2=>'three')); 31 | 32 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/classic-firebug/DivisionByZeroTrace.php: -------------------------------------------------------------------------------- 1 | 'Error', 11 | E_WARNING => 'Warning', 12 | E_PARSE => 'Parsing Error', 13 | E_NOTICE => 'Notice', 14 | E_CORE_ERROR => 'Core Error', 15 | E_CORE_WARNING => 'Core Warning', 16 | E_COMPILE_ERROR => 'Compile Error', 17 | E_COMPILE_WARNING => 'Compile Warning', 18 | E_USER_ERROR => 'User Error', 19 | E_USER_WARNING => 'User Warning', 20 | E_USER_NOTICE => 'User Notice', 21 | E_STRICT => 'Runtime Notice' 22 | //E_RECOVERABLE_ERROR => 'Catchable Fatal Error' 23 | ); 24 | 25 | $firephp->fb('Log message' ,FirePHP::LOG); 26 | $firephp->fb('Info message' ,FirePHP::INFO); 27 | $firephp->fb('Warn message' ,FirePHP::WARN); 28 | $firephp->fb('Error message',FirePHP::ERROR); 29 | $firephp->fb('Backtrace to here', FirePHP::TRACE); 30 | 31 | $firephp->fb( sprintf( "%s: %s\n in %s on line %s", $errortype[$errno], $errmsg, $filename, $linenum ), FirePHP::TRACE ); 32 | 33 | } 34 | 35 | $old_error_handler = set_error_handler("userErrorHandler"); 36 | 37 | date_default_timezone_set('America/Los_Angeles'); 38 | 39 | // Warning: Division by zero 40 | echo 45/0; 41 | 42 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/classic-firebug/Enabling.php: -------------------------------------------------------------------------------- 1 | getEnabled()) { 6 | $firephp->info('Enabled'); 7 | } 8 | 9 | $firephp->fb('This should show'); 10 | 11 | $firephp->setEnabled(false); 12 | 13 | if(!$firephp->getEnabled()) { 14 | $firephp->info('Disabled'); 15 | } 16 | 17 | $firephp->fb('This should NOT show'); 18 | 19 | $firephp->setEnabled(true); 20 | 21 | if($firephp->getEnabled()) { 22 | $firephp->info('Enabled'); 23 | } 24 | 25 | $firephp->fb('This should show'); 26 | 27 | 28 | 29 | if(FB::getEnabled()) { 30 | FB::info('Enabled'); 31 | } 32 | 33 | FB::log('This should show'); 34 | 35 | FB::setEnabled(false); 36 | 37 | if(!FB::getEnabled()) { 38 | FB::info('Disabled'); 39 | } 40 | 41 | FB::send('This should NOT show'); 42 | 43 | FB::setEnabled(true); 44 | 45 | if(FB::getEnabled()) { 46 | FB::info('Enabled'); 47 | } 48 | 49 | FB::log('This should show'); 50 | 51 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/classic-firebug/ErrorHandler.php: -------------------------------------------------------------------------------- 1 | registerErrorHandler(); 6 | 7 | ini_set('display_errors', '1'); 8 | ini_set('error_reporting', E_ALL); 9 | 10 | $i = 0; 11 | while(true) { 12 | 13 | try { 14 | switch($i) { 15 | case 0: 16 | trigger_error('This is a test E_USER_ERROR', E_USER_ERROR); 17 | break; 18 | case 1: 19 | @trigger_error('This is a test E_USER_ERROR', E_USER_ERROR); 20 | break; 21 | case 2: 22 | trigger_error('This is a test E_USER_NOTICE', E_USER_NOTICE); 23 | break; 24 | default: 25 | break 2; 26 | } 27 | } catch(Exception $e) { 28 | $firephp->fb($e); 29 | } 30 | 31 | $i++; 32 | } 33 | 34 | $firephp->registerExceptionHandler(); 35 | 36 | trigger_error('Final Error'); 37 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/classic-firebug/ExceptionHandler.php: -------------------------------------------------------------------------------- 1 | registerExceptionHandler(); 9 | 10 | throw new Exception('Test Exception'); -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/classic-firebug/Groups.php: -------------------------------------------------------------------------------- 1 | group('Group 1'); 7 | $firephp->fb('Test message 1'); 8 | 9 | 10 | $firephp->group('Group 2', array('Collapsed'=>false)); 11 | $firephp->fb('Test message 2'); 12 | $firephp->groupEnd(); 13 | 14 | 15 | $firephp->group('Collapsed Group', array('Collapsed'=>true)); 16 | $firephp->fb('Test message 2.1'); 17 | $firephp->groupEnd(); 18 | 19 | $firephp->group('Colored Collapsed Group', array('Collapsed'=>true, 'Color'=>'blue')); 20 | $firephp->fb('Test message 2.2'); 21 | $firephp->groupEnd(); 22 | 23 | $firephp->group('Colored Group', array('Color'=>'#FF00FF')); 24 | $firephp->fb('Test message 2.3'); 25 | $firephp->groupEnd(); 26 | 27 | 28 | $firephp->fb('Test message 3'); 29 | $firephp->groupEnd(); 30 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/classic-firebug/LotsOfData.php: -------------------------------------------------------------------------------- 1 | fb($array); 12 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/classic-firebug/PageConsole-Dump.php: -------------------------------------------------------------------------------- 1 | log("Hello World 1"); 6 | 7 | $firephp->fb("Hello World 2", "Key", FirePHP::DUMP); 8 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/classic-firebug/PageConsole-Options.php: -------------------------------------------------------------------------------- 1 | child = new TestObject2(); 8 | $obj1->depper = array('2' => new TestObject3()); 9 | $obj->undeclared = 'undeclared'; 10 | $obj->child = $obj1; 11 | $obj->deepArray = array('A', array('very' => array('deep', array('array')))); 12 | $obj->anotherChild = true; 13 | $obj->mixedArray = array('1', $obj1); 14 | class TestObject { 15 | public $public = 'public'; 16 | } 17 | class TestObject1 {} 18 | class TestObject2 {} 19 | class TestObject3 {} 20 | 21 | $firephp->fb($obj, 'object 1'); 22 | 23 | 24 | $firephp->setOption('maxArrayDepth', 2); 25 | $firephp->setOption('maxObjectDepth', 2); 26 | $firephp->setOption('maxDepth', 4); 27 | 28 | $firephp->fb($obj, 'object 2'); 29 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/classic-firebug/Redirect.php: -------------------------------------------------------------------------------- 1 | log('Redirect Request'); 6 | 7 | $url = str_replace('file=Redirect.php', 'file=RedirectTarget.php', $_SERVER['REQUEST_URI']); 8 | 9 | header('Location: ' . $url); 10 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/classic-firebug/RedirectTarget.php: -------------------------------------------------------------------------------- 1 | log('Redirect Target'); 6 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/classic-firebug/Serialize.php: -------------------------------------------------------------------------------- 1 | setOptions(array('includeLineNumbers'=>false,'maxArrayDepth'=>4)); 6 | $firephp->setObjectFilter('TestObject2',array('name2','name3')); 7 | 8 | $firephp->setEnabled(false); 9 | 10 | $serialized = serialize($firephp); 11 | 12 | $firephp->setEnabled(true); 13 | 14 | fb(array('String'=>$serialized), 'Serialized FirePHP Object'); 15 | 16 | $obj = unserialize($serialized); 17 | 18 | echo '
';
19 | var_dump($obj);
20 | echo '
'; 21 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/classic-firebug/StaticClass.php: -------------------------------------------------------------------------------- 1 | fb("Отладочный"); 6 | 7 | 8 | $firephp->fb(array('characters'=>"Отладочный")); 9 | 10 | 11 | $firephp->fb("Отладочный", 'var1', FirePHP::DUMP); 12 | $firephp->fb(array('characters'=>"Отладочный"), 'var2', FirePHP::DUMP); 13 | 14 | 15 | $firephp->fb("mon numéro est le 0"); 16 | 17 | 18 | $firephp->setOptions(array('useNativeJsonEncode'=>false)); 19 | 20 | $firephp->fb("Отладочный"); 21 | 22 | 23 | $firephp->fb(array('characters'=>"Отладочный")); 24 | 25 | 26 | $firephp->fb("Отладочный", 'var1', FirePHP::DUMP); 27 | $firephp->fb(array('characters'=>"Отладочный"), 'var2', FirePHP::DUMP); 28 | 29 | 30 | $firephp->fb("mon numéro est le 0"); 31 | 32 | // See: http://code.google.com/p/firephp/issues/detail?id=153 33 | $firephp->fb('アサヒ スーパードライ'); 34 | 35 | 36 | FB::log(array('foo'=>'bar')); 37 | FB::log(array('foo'=>'bár')); 38 | FB::log(array('fóó'=>'bar')); 39 | 40 | 41 | fb("muméro de téléphone","num tel"); 42 | 43 | fb(array('numéro'=>123),"num tel"); 44 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/classic-firebug/_init_.php: -------------------------------------------------------------------------------- 1 | log('Hello World'); 11 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/classic-firebug/snippets/FirePHPCore-PHP4.php: -------------------------------------------------------------------------------- 1 | log('Hello World'); 12 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/classic-firebug/snippets/Traditional-Procedural-API.php: -------------------------------------------------------------------------------- 1 | logVersion(); 6 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/PageConsole-InsightViewer.php: -------------------------------------------------------------------------------- 1 | console(); 6 | 7 | 8 | $obj1 = new TestObject(); 9 | $obj1->undeclared = 'undeclared'; 10 | $obj1->children = array('sss', $obj1); 11 | class TestObject { 12 | public $public = 'public'; 13 | public static $publicStatic = 'publicStatic'; 14 | protected $protected = 'protected'; 15 | protected static $protectedStatic = 'protectedStatic'; 16 | private $private = 'private'; 17 | private static $privateStatic = 'privateStatic'; 18 | } 19 | 20 | 21 | 22 | $filter = array( 23 | 'classes' => array( 24 | 'TestClass' => array('var1') 25 | ) 26 | ); 27 | $console = $console->filter($filter); 28 | $obj2 = new TestClass(); 29 | class TestClass { 30 | public $var1 = 'Variable 1'; 31 | public $var2 = 'Variable 2'; 32 | } 33 | 34 | 35 | 36 | $header = array('Column 1 Heading', 'Column 2 Heading'); 37 | $table = array( 38 | array('Row 1 Column 1 Value', 'Row 1 Column 2 Value'), 39 | array(10, true), 40 | array($obj1, $obj2) 41 | ); 42 | $console->table('Table with header', $table, $header); 43 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/PageConsole-Options.php: -------------------------------------------------------------------------------- 1 | child = new TestObject2(); 8 | $obj1->depper = array('2' => new TestObject3()); 9 | $obj->undeclared = 'undeclared'; 10 | $obj->child = $obj1; 11 | $obj->deepArray = array('A', array('very' => array('deep', array('array')))); 12 | $obj->anotherChild = true; 13 | $obj->mixedArray = array('1', $obj1); 14 | class TestObject { 15 | public $public = 'public'; 16 | } 17 | class TestObject1 {} 18 | class TestObject2 {} 19 | class TestObject3 {} 20 | 21 | $firephp->fb($obj, 'object 1'); 22 | 23 | 24 | $firephp->setOption('maxArrayDepth', 2); 25 | $firephp->setOption('maxObjectDepth', 2); 26 | $firephp->setOption('maxDepth', 4); 27 | 28 | $firephp->fb($obj, 'object 2'); 29 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/PageConsole-RSSFeed.php: -------------------------------------------------------------------------------- 1 | console(); 8 | 9 | $console->log('Hello World'); 10 | 11 | 12 | header('Content-Type: text/xml'); 13 | 14 | $xml = << 16 | 17 | 18 | 19 | The title of my RSS 2.0 Feed 20 | http://www.example.com/ 21 | This is my rss 2 feed description 22 | Mon, 12 Sep 2005 18:37:00 GMT 23 | en-us 24 | 25 | 26 | Title of an item 27 | http://example.com/item/123 28 | http://example.com/item/123 29 | Mon, 12 Sep 2005 18:37:00 GMT 30 | [CDATA[ This is the description. ]] 31 | 32 | 33 | 34 | 35 | 36 | EOT; 37 | 38 | echo $xml; 39 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/PageConsole-Redirect.php: -------------------------------------------------------------------------------- 1 | console(); 4 | 5 | $console->log('Redirect Request'); 6 | 7 | $url = str_replace('file=PageConsole-Redirect.php', 'file=PageConsole-RedirectTarget.php', $_SERVER['REQUEST_URI']); 8 | 9 | header('Location: ' . $url); 10 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/PageConsole-RedirectTarget.php: -------------------------------------------------------------------------------- 1 | console(); 4 | 5 | $console->log('Redirect Target'); 6 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/PageConsole-StringTruncating.php: -------------------------------------------------------------------------------- 1 | console(); 4 | 5 | $str = array(); 6 | for( $i=0 ; $i<10 ; $i++ ) { 7 | $str[] = 'This is a long string that will be truncated.'; 8 | } 9 | 10 | $console->option('encoder.maxStringLength', 250)->label('Truncated')->log(implode("\n", $str)); 11 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/PageConsole-TopLevelStrings.php: -------------------------------------------------------------------------------- 1 | console(); 6 | 7 | $console->log("This is a long informational string that should not be trimmed"); 8 | $console->info("This is a long informational string that should not be trimmed"); 9 | $console->warn("This is a long informational string that should not be trimmed"); 10 | $console->error("This is a long informational string that should not be trimmed"); 11 | 12 | 13 | $console->log(array("This is a long string that should be trimmed as it is not at the top level.")); 14 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/PageConsole-TraceOffsets.php: -------------------------------------------------------------------------------- 1 | log('Hello World'); 6 | $logger->trace('Trace to here'); 7 | $logger->logCustomLine('Hello World (custom line)', 3); 8 | 9 | try { 10 | throw new Exception("Test Exception"); 11 | } catch(Exception $e) { 12 | $logger->handleException($e); 13 | } 14 | 15 | class Logger { 16 | 17 | private $console; 18 | private $engine; 19 | 20 | function __construct() { 21 | $this->console = FirePHP::to("page")->console(); 22 | $this->console = $this->console->options(array( 23 | 'encoder.trace.offsetAdjustment' => 1 24 | )); 25 | $this->engine = FirePHP::plugin('engine'); 26 | $this->engine->onException($this->console); 27 | } 28 | 29 | function log($msg) { 30 | $this->console->log($msg); 31 | } 32 | 33 | function logCustomLine($msg, $line) { 34 | $this->console->options(array( 35 | 'line' => $line 36 | ))->log($msg); 37 | } 38 | 39 | function trace($title) { 40 | $this->console->trace($title); 41 | } 42 | 43 | function handleException($e) { 44 | $this->engine->handleException($e); 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/PageControls1.php: -------------------------------------------------------------------------------- 1 | plugin('PageControls1'); 6 | 7 | $plugin->register(array( 8 | 'class' => 'FirePHP_Examples_PageControls1_Plugin', 9 | 'file' => dirname(__FILE__) . '/plugins/PageControls1/lib/Plugin.php', 10 | 'forceReload' => true 11 | )); 12 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/PageControls2.php: -------------------------------------------------------------------------------- 1 | plugin('PageControls2'); 6 | 7 | $plugin->register(array( 8 | 'class' => 'FirePHP_Examples_PageControls2_Plugin', 9 | 'file' => dirname(__FILE__) . '/plugins/PageControls2/lib/Plugin.php', 10 | 'forceReload' => true 11 | )); 12 | 13 | $plugin->show(); 14 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/RequestConsole-Arrays.php: -------------------------------------------------------------------------------- 1 | console('Arrays'); 6 | 7 | $test = array(123,234); 8 | $console->log($test); 9 | 10 | $test = array('123',234,"567"); 11 | $console->log($test); 12 | 13 | $test = array('123'=>234, 234, "567"); 14 | $console->expand()->log($test); 15 | 16 | $test = array('a123'=>234, 234, "567"); 17 | $console->log($test); 18 | 19 | $test = array(123,234); 20 | $console->table('test 0', $test); 21 | 22 | $test = array(array(123,234)); 23 | $console->table('test 1', $test); 24 | 25 | $test = array(array(array(123,234))); 26 | $console->table('test 2',$test); 27 | 28 | $test = array(123 => 123,234 => 234); 29 | $console->table('test 3',$test); 30 | 31 | $test = array(array(123 => 123,234 => 234)); 32 | $console->table('test 4',$test); 33 | 34 | $test = array(array(array(123 => 123,234 => 234))); 35 | $console->table('test 5',$test); 36 | 37 | $test = array('123','234'); 38 | $console->table('test 6',$test); 39 | 40 | $test = array(array('123','234')); 41 | $console->table('test 7',$test); 42 | 43 | $test = array(array(array('123','234'))); 44 | $console->table('test 8',$test); 45 | 46 | $test = array('123' => '123','234' => '234'); 47 | $console->table('test 9',$test); 48 | 49 | $test = array(array('123' => '123','234' => '234')); 50 | $console->table('test 10',$test); 51 | 52 | $test = array(array(array('123' => '123','234' => '234'))); 53 | $console->table('test 11',$test); 54 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/RequestConsole-AutoInspect.php: -------------------------------------------------------------------------------- 1 | console('Messages'); 6 | 7 | $console->log("Hello World from automatic inspect"); 8 | 9 | FirePHP::to('controller')->triggerInspect(); 10 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/RequestConsole-Conditional.php: -------------------------------------------------------------------------------- 1 | console('Conditional'); 6 | 7 | $console->log('Message 1'); 8 | 9 | $console->on('Condition 1')->log('Condition 1 - Message 2'); 10 | $console->on('Condition 1')->log('Condition 1 - Message 3'); 11 | 12 | $console->on('Condition 2')->log('Condition 2 - Message 4'); 13 | $console->on('Condition 2')->log('Condition 2 - Message 5'); 14 | 15 | $console->on('Condition 2')->on('Condition 3')->log('Condition 3 - Message 6'); 16 | $console->on('Condition 2')->on('Condition 3')->log('Condition 3 - Message 7'); 17 | 18 | $console->on('Condition 4')->open(); 19 | $console->log('Condition 4 - Message 8'); 20 | $console->log('Condition 4 - Message 9'); 21 | 22 | $console->on('Condition 5')->open(); 23 | $console->group('Condition5')->log('Condition 5'); 24 | $console->group('Condition5')->log('Message 10'); 25 | $console->on('Condition 5')->close(); 26 | $console->on('Condition 4')->close(); 27 | 28 | $console->log('Message 11'); 29 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/RequestConsole-ConditionalComplex.php: -------------------------------------------------------------------------------- 1 | console('Events') 14 | ->on('Events') 15 | ->label('Notified') 16 | ->group('event-' . $eventName, sprintf('%s', $eventName)); 17 | 18 | if ($console->on('Details')->is(true)) { 19 | $details = $console->group('event-' . $eventName . '-' . $class, sprintf('%s', $class)) 20 | ->options(array( 21 | 'encoder.maxDepth' => 2 22 | )); 23 | $details->label('$listener')->log('$listener'); 24 | $details->label('$event')->log('$event'); 25 | } else { 26 | $console->log(sprintf('%s', $class)); 27 | } 28 | } 29 | } 30 | 31 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/RequestConsole-Errors.php: -------------------------------------------------------------------------------- 1 | console('Errors'); 6 | FirePHP::plugin('error')->onError($console); 7 | FirePHP::plugin('error')->onException($console); 8 | FirePHP::plugin('assertion')->onAssertionError($console); 9 | $console->show(); 10 | */ 11 | 12 | trigger_error("Test error"); 13 | 14 | $var = false; 15 | assert('$var===true'); 16 | 17 | 18 | // this triggers an E_NOTICE 19 | $array = array(); 20 | $var1 = $array['test']; 21 | 22 | 23 | //throw new Exception('Test Exception'); 24 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/RequestConsole-Groups.php: -------------------------------------------------------------------------------- 1 | console('Messages'); 7 | $console2->log('Message'); 8 | 9 | $console1 = $inspector->console('Groups'); 10 | $console1->show(); 11 | 12 | $group = $console1->group('Group1')->open(); 13 | 14 | $console1->log('Group Title'); 15 | $console1->log('Message 1'); 16 | $console1->log('Message 2'); 17 | 18 | $console2->log('Message 3'); 19 | 20 | $group->close(); 21 | 22 | 23 | 24 | $group = $console1->expand()->group('Group2', 'Group 2 Title')->open(); 25 | 26 | $console1->log('Message 1'); 27 | $console1->log('Message 2'); 28 | 29 | $group->close(); 30 | 31 | 32 | 33 | $group = $console1->expand()->group('Group3', 'Group 3 Title')->open(); 34 | 35 | $console1->log('Message 1'); 36 | 37 | $group->close(); 38 | 39 | 40 | $group = $console1->expand()->group('Group4', 'Group 4 Title')->open(); 41 | 42 | $console1->log('Message 1'); 43 | 44 | $group = $console1->group('Group41')->open(); 45 | 46 | $console1->log('Group Title'); 47 | $console1->log('Message 1'); 48 | $console1->log('Message 2'); 49 | 50 | $console2->log('Message 3'); 51 | 52 | $group->close(); 53 | 54 | $group->close(); 55 | 56 | $group = $console1->expand()->group('Group5', 'Group 5 Title')->open(); 57 | 58 | $group->close(); 59 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/RequestConsole-InspectHeader.php: -------------------------------------------------------------------------------- 1 | console('Messages'); 6 | 7 | $console->log("Hello World from manual inspect"); 8 | 9 | $console->label('Time')->log(time()); 10 | 11 | header('x-insight: inspect'); 12 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/RequestConsole-LotsOfData.php: -------------------------------------------------------------------------------- 1 | console('Lot\'s of data'); 6 | 7 | $array = array(); 8 | 9 | for ( $i=0 ; $i<800 ; $i++ ) { 10 | $array[$i] = 'Element '.$i; 11 | } 12 | 13 | $console->log($array); 14 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/RequestConsole-ManualInspect.php: -------------------------------------------------------------------------------- 1 | console('Messages'); 6 | 7 | $console->log("Hello World from manual inspect"); 8 | 9 | $console->label('Time')->log(time()); 10 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/RequestConsole-PostTest.php: -------------------------------------------------------------------------------- 1 | console('Post Test'); 6 | 7 | $console->label('Time')->log(time()); 8 | 9 | $console->label('Post Data')->log($_POST); 10 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/RequestConsole-Primitives.php: -------------------------------------------------------------------------------- 1 | console('Primitives'); 6 | 7 | $console->label('array')->log(array('Hello', 'World')); 8 | $console->label('array')->log(array('Hello' => 'World')); 9 | $console->label('array')->log(array('Hello' => 'World', 'Wide')); 10 | 11 | $console->label('boolean')->log(true); 12 | 13 | $console->label('float')->log(10.5); 14 | 15 | $console->label('integer')->log(1000); 16 | 17 | $console->label('null')->log(null); 18 | 19 | $obj = new TestObject(); 20 | $obj->undeclared = 'undeclared'; 21 | $obj->children = array('sss', $obj); 22 | $console->label('object')->log($obj); 23 | 24 | $console->label('resource')->log(tmpfile()); 25 | 26 | $console->label('string')->log('Hello World'); 27 | 28 | 29 | class TestObject { 30 | public $public = 'public'; 31 | public static $publicStatic = 'publicStatic'; 32 | protected $protected = 'protected'; 33 | protected static $protectedStatic = 'protectedStatic'; 34 | private $private = 'private'; 35 | private static $privateStatic = 'privateStatic'; 36 | } 37 | 38 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/RequestConsole-Redirect.php: -------------------------------------------------------------------------------- 1 | console('Info'); 6 | 7 | $console->log('Redirect Request'); 8 | 9 | $url = str_replace('file=RequestConsole-Redirect.php', 'file=RequestConsole-RedirectTarget.php', $_SERVER['REQUEST_URI']); 10 | 11 | header('Location: ' . $url); 12 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/RequestConsole-RedirectTarget.php: -------------------------------------------------------------------------------- 1 | console('Info'); 6 | 7 | $console->log('Redirect Target'); 8 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/RequestConsole-Tables.php: -------------------------------------------------------------------------------- 1 | console('Tables'); 6 | 7 | 8 | $vars = array(); 9 | 10 | for( $i=0 ; $i < 30 ; $i++ ) { 11 | $vars['Key ' . $i] = 'Value ' . $i; 12 | } 13 | 14 | $console->table('Long Table 1', $vars, array('Variable', 'Value')); 15 | 16 | 17 | $console = $console->option('encoder.maxArrayLength', -1); 18 | 19 | $console->table('Long Table 2', $vars, array('Variable', 'Value')); 20 | 21 | 22 | $data = array( 23 | 'key1' => 'value1', 24 | 'key2' => 'value2' 25 | ); 26 | 27 | $table = array(); 28 | foreach ($data as $key=>$value) { 29 | $table[] = array($key, $value); 30 | } 31 | $console->table('Table Title 1', $table, array('Key', 'Value')); 32 | 33 | 34 | $data = array( 35 | 'value1', 36 | 'value2' 37 | ); 38 | 39 | $table = array(); 40 | foreach ($data as $key=>$value) { 41 | $table[] = array($key, $value); 42 | } 43 | $console->table('Table Title 2', $table, array('Key', 'Value')); 44 | 45 | 46 | $console = $inspector->console('Tables 2'); 47 | $console->table('Table Title 2', $table, array('Key', 'Value')); 48 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/RequestConsole-Tracing.php: -------------------------------------------------------------------------------- 1 | console('Tracing'); 6 | 7 | function testTrace2($console) { 8 | $console->trace('Trace to here'); 9 | } 10 | function testTrace1($console, $inspector) { 11 | testTrace2($console); 12 | } 13 | testTrace1($console, $inspector); 14 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/RequestConsole-TraditionalRedirect-FB.php: -------------------------------------------------------------------------------- 1 | setLogToInsightConsole('Firebug'); 6 | 7 | $firephp->log('Log message'); 8 | $firephp->log('Log message', 'Label'); 9 | 10 | $firephp->info('Info message'); 11 | $firephp->warn('Warn message'); 12 | $firephp->error('Error message'); 13 | 14 | $firephp->dump('key', 'value'); 15 | 16 | $firephp->trace('Trace to here'); 17 | 18 | try { 19 | throw new Exception('Test exception'); 20 | } catch(Exception $e) { 21 | $firephp->fb($e, FirePHP::EXCEPTION); 22 | } 23 | 24 | $firephp->fb(array('2 SQL queries took 0.06 seconds',array( 25 | array('SQL Statement','Time','Result'), 26 | array('SELECT * FROM Foo','0.02',array('row1','row2')), 27 | array('SELECT * FROM Bar','0.04',array('row1','row2')) 28 | )), FirePHP::TABLE); 29 | 30 | $firephp->table('2 SQL queries took 0.06 seconds',array( 31 | array('SQL Statement','Time','Result'), 32 | array('SELECT * FROM Foo','0.02',array('row1','row2')), 33 | array('SELECT * FROM Bar','0.04',array('row1','row2')) 34 | )); 35 | 36 | 37 | $firephp->group('Group 1'); 38 | $firephp->fb('Test message 1'); 39 | 40 | $firephp->group('Group 2'); 41 | $firephp->fb('Test message 2'); 42 | $firephp->groupEnd(); 43 | 44 | $firephp->fb('Test message 3'); 45 | $firephp->groupEnd(); 46 | 47 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/_init_.php: -------------------------------------------------------------------------------- 1 | getData(); 10 | 11 | if(is_array($data) && isset($data['action'])) { 12 | 13 | switch($data['action']) { 14 | case 'showPlugin': 15 | FirePHP::to("plugin")->plugin('PageControls2')->show(); 16 | break; 17 | case 'removeAll': 18 | FirePHP::to("plugin")->removeAll(); 19 | break; 20 | } 21 | 22 | } else { 23 | 24 | // relay message back to client 25 | $this->sendSimpleMessage($data); 26 | 27 | } 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/plugins/PageControls1/packages/page-top/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "implements": { 3 | "cadorn.org/insight/@meta/plugin/0": { 4 | "main": "main", 5 | "options": { 6 | "label": "Page Controls 1", 7 | "height": 50 8 | } 9 | } 10 | }, 11 | "mappings": { 12 | "insight-plugin-api": { 13 | "catalog": "http://registry.pinf.org/jsinsight.org/github/catalog.json", 14 | "name": "plugin-api", 15 | "revision": "master" 16 | }, 17 | "jquery": { 18 | "catalog": "http://registry.pinf.org/jsinsight.org/github/plugin-libraries/packages/catalog.json", 19 | "name": "jquery", 20 | "revision": "master" 21 | }, 22 | "domplate": { 23 | "catalog": "http://registry.pinf.org/cadorn.org/github/catalog.json", 24 | "name": "domplate", 25 | "revision": "master" 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/plugins/PageControls1/packages/page-top/resources/common.css: -------------------------------------------------------------------------------- 1 | 2 | HTML, BODY { 3 | padding: 0px; 4 | margin: 0px; 5 | background-color: #ECECEC; 6 | } 7 | 8 | HTML, BODY, INPUT, TEXTAREA, TD, P { 9 | font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; 10 | font-size: 11px; 11 | } 12 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/plugins/PageControls1/packages/page-top/resources/img/devcomp_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/protected/vendors/firephp/examples/TestRunner/insight-devcomp/plugins/PageControls1/packages/page-top/resources/img/devcomp_16.png -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/plugins/PageControls1/packages/page-top/resources/style.css: -------------------------------------------------------------------------------- 1 | 2 | @import url("common.css"); 3 | 4 | HTML { 5 | padding: 5px; 6 | } 7 | 8 | A { 9 | margin-left: 3px; 10 | margin-right: 3px; 11 | } 12 | 13 | #domplate-container { 14 | display: inline-block; 15 | margin-left: 3px; 16 | margin-right: 3px; 17 | } 18 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/plugins/PageControls2/lib/Plugin.php: -------------------------------------------------------------------------------- 1 | console(); 11 | if(isset($_GET['target'])) { // set by the drop-down in the reference 12 | $console = FirePHP::to($_GET['target'])->console(); 13 | if($_GET['target']=='request') { 14 | FirePHP::to('controller')->triggerInspect(); 15 | } 16 | } 17 | 18 | 19 | $obj = new TestClass(); 20 | $console->log($obj); 21 | 22 | 23 | class TestClass { 24 | /** 25 | * @insight filter=on 26 | */ 27 | public $var1 = 'Variable 1'; 28 | public $var2 = 'Variable 2'; 29 | } 30 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/ConditionalByName.php: -------------------------------------------------------------------------------- 1 | console(); 11 | if(isset($_GET['target'])) { // set by the drop-down in the reference 12 | $console = FirePHP::to($_GET['target'])->console(); 13 | if($_GET['target']=='request') { 14 | FirePHP::to('controller')->triggerInspect(); 15 | } 16 | } 17 | 18 | 19 | $console->on('Condition 1')->log('Condition 1 - Message 1'); 20 | $console->on('Condition 2')->log('Condition 2 - Message 2'); 21 | $console->on('Condition 1')->log('Condition 1 - Message 3'); 22 | $console->on('Condition 2')->log('Condition 2 - Message 4'); 23 | $console->on('Condition 1')->log('Condition 1 - Message 5'); 24 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/ConditionalContext.php: -------------------------------------------------------------------------------- 1 | console(); 11 | if(isset($_GET['target'])) { // set by the drop-down in the reference 12 | $console = FirePHP::to($_GET['target'])->console(); 13 | if($_GET['target']=='request') { 14 | FirePHP::to('controller')->triggerInspect(); 15 | } 16 | } 17 | 18 | 19 | $on = $console->on('Condition 1')->open(); 20 | $console->log('Condition 1 - Message 1'); 21 | 22 | $console->on('Condition 2')->open(); 23 | $console->log('Condition 2 - Message 2'); 24 | $console->on('Condition 2')->close(); 25 | 26 | $console->log('Condition 1 - Message 3'); 27 | 28 | $on->close(); 29 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/ConditionalFlowControl.php: -------------------------------------------------------------------------------- 1 | console(); 11 | if(isset($_GET['target'])) { // set by the drop-down in the reference 12 | $console = FirePHP::to($_GET['target'])->console(); 13 | if($_GET['target']=='request') { 14 | FirePHP::to('controller')->triggerInspect(); 15 | } 16 | } 17 | 18 | 19 | if($console->on('Condition 1')->is(true)) { 20 | $console->log('Hello World'); 21 | } 22 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/Controller-TriggerClientTest.php: -------------------------------------------------------------------------------- 1 | triggerClientTest(json_decode($_POST['payload'])); 11 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/Deactivated.php: -------------------------------------------------------------------------------- 1 | console(); 14 | $console->log("Hello World"); 15 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/Engine-Errors.php: -------------------------------------------------------------------------------- 1 | console('Problems'); 11 | if(isset($_GET['target'])) { // set by the drop-down in the reference 12 | $console = FirePHP::to($_GET['target'])->console('Problems'); 13 | if($_GET['target']=='request') { 14 | FirePHP::to('controller')->triggerInspect(); 15 | } 16 | } 17 | 18 | $console = $console->expand(); 19 | 20 | $engine = FirePHP::plugin('engine'); 21 | $engine->onError($console); 22 | $engine->onAssertionError($console); 23 | 24 | trigger_error("Test error"); 25 | 26 | $var = false; 27 | assert('$var===true'); 28 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/Engine-HandleException.php: -------------------------------------------------------------------------------- 1 | console('Problems'); 11 | if(isset($_GET['target'])) { // set by the drop-down in the reference 12 | $console = FirePHP::to($_GET['target'])->console('Problems'); 13 | if($_GET['target']=='request') { 14 | FirePHP::to('controller')->triggerInspect(); 15 | } 16 | } 17 | 18 | 19 | $console = $console->expand(); 20 | 21 | $engine = FirePHP::plugin('engine'); 22 | $engine->onException($console); 23 | 24 | try { 25 | throw new Exception('First Test Exception'); 26 | } catch(Exception $e) { 27 | $engine->handleException($e); 28 | } 29 | 30 | try { 31 | throw new Exception('Second Test Exception'); 32 | } catch(Exception $e) { 33 | FirePHP::plugin('engine')->handleException($e); 34 | } 35 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/Engine-OnException.php: -------------------------------------------------------------------------------- 1 | console('Problems'); 11 | if(isset($_GET['target'])) { // set by the drop-down in the reference 12 | $console = FirePHP::to($_GET['target'])->console('Problems'); 13 | if($_GET['target']=='request') { 14 | FirePHP::to('controller')->triggerInspect(); 15 | } 16 | } 17 | 18 | $console = $console->expand(); 19 | 20 | $engine = FirePHP::plugin('engine'); 21 | $engine->onException($console); 22 | 23 | throw new Exception('Test Exception'); 24 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/FirePHP-LogVersion.php: -------------------------------------------------------------------------------- 1 | console('Problems'); 11 | if(isset($_GET['target'])) { // set by the drop-down in the reference 12 | $console = FirePHP::to($_GET['target'])->console('FirePHP'); 13 | if($_GET['target']=='request') { 14 | FirePHP::to('controller')->triggerInspect(); 15 | } 16 | } 17 | 18 | 19 | FirePHP::plugin("firephp")->logVersion($console); 20 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/FirePHP-RecordEnvironment.php: -------------------------------------------------------------------------------- 1 | console('Problems'); 11 | if(isset($_GET['target'])) { // set by the drop-down in the reference 12 | $console = FirePHP::to($_GET['target'])->console('Problems'); 13 | if($_GET['target']=='request') { 14 | FirePHP::to('controller')->triggerInspect(); 15 | } 16 | } 17 | 18 | 19 | FirePHP::plugin("firephp")->recordEnvironment($console); 20 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/FirePHP-TrapProblems.php: -------------------------------------------------------------------------------- 1 | console('Problems'); 11 | if(isset($_GET['target'])) { // set by the drop-down in the reference 12 | $console = FirePHP::to($_GET['target'])->console('Problems'); 13 | if($_GET['target']=='request') { 14 | FirePHP::to('controller')->triggerInspect(); 15 | } 16 | } 17 | 18 | 19 | FirePHP::plugin("firephp")->trapProblems($console); 20 | 21 | $var = false; 22 | assert('$var===true'); 23 | 24 | trigger_error('Test Error'); 25 | 26 | throw new Exception("Test Exception"); 27 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/FirePHP-declareP.php: -------------------------------------------------------------------------------- 1 | declareP(); 15 | 16 | p('Hey there Firebug Console', 'Variable Label'); 17 | 18 | 19 | $firephp->declareP('Ad-hock', true); 20 | 21 | p('Hey there Ad-hock Console', 'Variable Label'); 22 | 23 | 24 | $console = FirePHP::to('request')->console('Debug'); 25 | $firephp->declareP($console, true); 26 | 27 | p('Hey there Debug Console', 'Variable Label'); 28 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/GroupContext.php: -------------------------------------------------------------------------------- 1 | console(); 11 | if(isset($_GET['target'])) { // set by the drop-down in the reference 12 | $console = FirePHP::to($_GET['target'])->console(); 13 | if($_GET['target']=='request') { 14 | FirePHP::to('controller')->triggerInspect(); 15 | } 16 | } 17 | 18 | 19 | $group = $console->expand()->group('Group1')->open(); 20 | 21 | $console->log('Group 1 Title'); 22 | $console->log('Message 1'); 23 | 24 | $console->expand()->group('Group2')->open(); 25 | $console->log('Group 2 Title'); 26 | $console->log('Message 2'); 27 | $console->group('Group2')->close(); 28 | 29 | $console->log('Message 3'); 30 | 31 | $console->group('Group3', 'Group 3 Title')->open(); 32 | $console->log('Message 4'); 33 | $console->group('Group3')->close(); 34 | 35 | $group->close(); 36 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/Install-Minimal.php: -------------------------------------------------------------------------------- 1 | console(); 16 | 17 | $console->log('Hello World'); 18 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/Introduction-Example.php: -------------------------------------------------------------------------------- 1 | console(); 16 | 17 | $console->log('Hello World'); -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/Labels.php: -------------------------------------------------------------------------------- 1 | console(); 11 | if(isset($_GET['target'])) { // set by the drop-down in the reference 12 | $console = FirePHP::to($_GET['target'])->console(); 13 | if($_GET['target']=='request') { 14 | FirePHP::to('controller')->triggerInspect(); 15 | } 16 | } 17 | 18 | 19 | $console->log('Plain message'); 20 | $console->label('Label')->log('Labelled message'); 21 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/LogToGroup.php: -------------------------------------------------------------------------------- 1 | console(); 11 | if(isset($_GET['target'])) { // set by the drop-down in the reference 12 | $console = FirePHP::to($_GET['target'])->console(); 13 | if($_GET['target']=='request') { 14 | FirePHP::to('controller')->triggerInspect(); 15 | } 16 | } 17 | 18 | 19 | $console->group('Group1')->log('Group 1 Title'); 20 | $console->expand()->group('Group2')->log('Group 2 Title'); 21 | $console->group('Group1')->log('Message 1'); 22 | $console->group('Group2')->log('Message 2'); 23 | $console->group('Group1')->log('Message 3'); 24 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/ManualClassFilter.php: -------------------------------------------------------------------------------- 1 | console(); 11 | if(isset($_GET['target'])) { // set by the drop-down in the reference 12 | $console = FirePHP::to($_GET['target'])->console(); 13 | if($_GET['target']=='request') { 14 | FirePHP::to('controller')->triggerInspect(); 15 | } 16 | } 17 | 18 | 19 | // apply filter 20 | $filter = array( 21 | 'classes' => array( 22 | 'TestClass' => array('var1') 23 | ) 24 | ); 25 | $console = $console->filter($filter); 26 | 27 | // send object 28 | $obj = new TestClass(); 29 | $console->log($obj); 30 | 31 | 32 | class TestClass { 33 | public $var1 = 'Variable 1'; 34 | public $var2 = 'Variable 2'; 35 | } 36 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/Package-QuickLinks.php: -------------------------------------------------------------------------------- 1 | addQuickLink("Link 1", "http://www.firephp.org/"); 14 | $package->addQuickLink("Link 2", array( 15 | "target" => "window", 16 | "url" => "http://www.firephp.org/" 17 | )); 18 | 19 | 20 | $inspector = FirePHP::to('request'); 21 | $inspector->console()->log('Hello World'); 22 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/PageConsole-InsightAPI.php: -------------------------------------------------------------------------------- 1 | console(); 13 | $console->log('Hello World'); 14 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/PageConsole.php: -------------------------------------------------------------------------------- 1 | console(); 13 | 14 | $console->log('Hello World'); 15 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/PayloadListener.php: -------------------------------------------------------------------------------- 1 | console(); 15 | if(isset($_GET['target'])) { // set by the drop-down in the reference 16 | $console = FirePHP::to($_GET['target'])->console(); 17 | if($_GET['target']=='request') { 18 | FirePHP::to('controller')->triggerInspect(); 19 | } 20 | } 21 | 22 | 23 | // register a listener 24 | class PayloadListener { 25 | public function onPayload($request, $payload) { 26 | echo($payload); 27 | } 28 | } 29 | Insight_Helper::getInstance()->registerListener('payload', new PayloadListener()); 30 | 31 | 32 | // send a test message 33 | $console->log('Hello World'); 34 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/Priorities.php: -------------------------------------------------------------------------------- 1 | console(); 11 | if(isset($_GET['target'])) { // set by the drop-down in the reference 12 | $console = FirePHP::to($_GET['target'])->console(); 13 | if($_GET['target']=='request') { 14 | FirePHP::to('controller')->triggerInspect(); 15 | } 16 | } 17 | 18 | 19 | $console->log('Plain message'); 20 | $console->info('Info message'); 21 | $console->warn('Warning message'); 22 | $console->error('Error message'); 23 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/Tables.php: -------------------------------------------------------------------------------- 1 | console(); 11 | if(isset($_GET['target'])) { // set by the drop-down in the reference 12 | $console = FirePHP::to($_GET['target'])->console(); 13 | if($_GET['target']=='request') { 14 | FirePHP::to('controller')->triggerInspect(); 15 | } 16 | } 17 | 18 | 19 | $header = array('Column 1 Heading', 'Column 2 Heading'); 20 | $table = array( 21 | array('Row 1 Column 1 Value', 'Row 1 Column 2 Value'), 22 | array(10, true) 23 | ); 24 | $console->table('Table without header', $table); 25 | $console->table('Table with header', $table, $header); 26 | 27 | $console->expand()->table('Expanded table with header', $table, $header); 28 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/Traces.php: -------------------------------------------------------------------------------- 1 | console(); 11 | if(isset($_GET['target'])) { // set by the drop-down in the reference 12 | $console = FirePHP::to($_GET['target'])->console(); 13 | if($_GET['target']=='request') { 14 | FirePHP::to('controller')->triggerInspect(); 15 | } 16 | } 17 | 18 | 19 | $console->expand()->trace('Trace to here'); 20 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/insight-devcomp/snippets/Traditional-RedirectAPI.php: -------------------------------------------------------------------------------- 1 | triggerInspect(); 10 | 11 | 12 | $firephp = FirePHP::getInstance(true); 13 | $firephp->setLogToInsightConsole('Firebug'); 14 | $firephp->log('Hello World'); 15 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/TestRunner/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid": "http://registry.pinf.org/cadorn.org/github/firephp-libs/programs/standalone/examples/TestRunner/", 3 | "description": "FirePHP Examples: Test Runner", 4 | "homepage": "http://reference.developercompanion.com/Tools/FirePHPCompanion/Run/Examples/TestRunner/", 5 | "bugs": "http://github.com/cadorn/firephp-libs/issues", 6 | "implements": { 7 | "cadorn.org/insight/@meta/package/0": { 8 | "links": { 9 | "quick": { 10 | "Learn": "http://reference.developercompanion.com/#/Tools/FirePHPCompanion/Introduction/", 11 | "Discuss": { 12 | "target": "tab", 13 | "url": "http://groups.google.com/group/firephp-dev" 14 | }, 15 | "Follow": { 16 | "target": "window", 17 | "url": "http://twitter.com/firephplib" 18 | } 19 | } 20 | } 21 | }, 22 | "cadorn.org/insight/@meta/config/0": { 23 | "server": { 24 | "path": "./_insight_.php" 25 | } 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/UIPlugins/_insight_.php: -------------------------------------------------------------------------------- 1 | array( 31 | 'cadorn.org/insight/@meta/config/0' => array( 32 | 'paths' => array( 33 | realpath($path) => 'allow' 34 | ) 35 | ) 36 | ) 37 | ); 38 | 39 | define('INSIGHT_CONFIG_PATH', dirname(__FILE__) . DIRECTORY_SEPARATOR . 'package.json'); 40 | require_once('FirePHP/Init.php'); 41 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/UIPlugins/credentials.json: -------------------------------------------------------------------------------- 1 | { 2 | "cadorn.org/insight/@meta/config/0": { 3 | "allow": { 4 | "ips": [ 5 | "*" 6 | ], 7 | "authkeys": [ 8 | "*" 9 | ] 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/UIPlugins/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid": "http://registry.pinf.org/cadorn.org/github/firephp-libs/programs/standalone/examples/UIPlugins/", 3 | "description": "FirePHP UI Plugins", 4 | "homepage": "https://github.com/firephp/ui-plugins", 5 | "bugs": "https://github.com/firephp/ui-plugins/issues", 6 | "implements": { 7 | "cadorn.org/insight/@meta/package/0": { 8 | "links": { 9 | "quick": { 10 | "Discuss": "http://groups.google.com/group/firephp-dev", 11 | "Follow": "http://twitter.com/firephplib" 12 | } 13 | } 14 | }, 15 | "cadorn.org/insight/@meta/config/0": { 16 | "server": { 17 | "path": "./_insight_.php" 18 | } 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/ZendFramework/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine on 3 | 4 | RewriteBase /Tools/FirePHPCompanion/Run/Examples/ZendFramework 5 | 6 | RewriteRule ^.* index.php 7 | -------------------------------------------------------------------------------- /protected/vendors/firephp/examples/ZendFramework/index.php: -------------------------------------------------------------------------------- 1 | 36 | 37 |

Zend Framework not found at:

38 | 39 | p($data, $label); 5 | } 6 | -------------------------------------------------------------------------------- /protected/vendors/firephp/lib/Insight/Plugin/Assertion.php: -------------------------------------------------------------------------------- 1 | assertionErrorConsole = $console; 16 | return assert_options(ASSERT_CALLBACK, array($this, '_assertionErrorHandler')); 17 | } 18 | 19 | public function _assertionErrorHandler($file, $line, $code) { 20 | if(!$this->assertionErrorConsole) { 21 | return; 22 | } 23 | $this->assertionErrorConsole->setTemporaryTraceOffset($this->traceOffset); 24 | $this->assertionErrorConsole->meta(array( 25 | 'encoder.rootDepth' => 5, 26 | 'encoder.exception.traceOffset' => 1 27 | ))->error(new ErrorException('Assertion Failed - Code[ '.$code.' ]', 0, null, $file, $line)); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /protected/vendors/firephp/lib/Insight/Plugin/Controller.php: -------------------------------------------------------------------------------- 1 | inspectTriggered) { 9 | // return; 10 | // } 11 | // $this->inspectTriggered = true; 12 | return $this->message->meta(array( 13 | "encoder" => "JSON" 14 | ))->send(array( 15 | "action" => "inspectRequest", 16 | "actionArgs" => array( 17 | "options" => $options 18 | ) 19 | )); 20 | } 21 | 22 | /* 23 | public function setServerUrl($url) { 24 | return $this->message->meta(array( 25 | "encoder" => "JSON" 26 | ))->send(array( 27 | "serverUrl" => $url 28 | )); 29 | } 30 | */ 31 | 32 | public function triggerClientTest($payload) { 33 | return $this->message->meta(array( 34 | "encoder" => "JSON" 35 | ))->send(array( 36 | "action" => "testClient", 37 | "actionArgs" => array( 38 | "payload" => $payload 39 | ) 40 | )); 41 | } 42 | 43 | } 44 | -------------------------------------------------------------------------------- /protected/vendors/firephp/lib/Insight/Plugin/Group.php: -------------------------------------------------------------------------------- 1 | message->meta['group']])) { 9 | self::$loggedTitles[$this->message->meta['group']] = true; 10 | } else { 11 | // title is already logged 12 | return; 13 | } 14 | if($label!==null) { 15 | $this->label($label)->log($title); 16 | } else { 17 | $this->log($title); 18 | } 19 | } 20 | 21 | public function open() { 22 | $this->message->meta($this->_addFileLineMeta(array( 23 | 'group.start' => true 24 | )))->send(true); 25 | return $this->message; 26 | } 27 | 28 | public function close() { 29 | $this->message->meta($this->_addFileLineMeta(array( 30 | 'group.end' => true 31 | )))->send(true); 32 | return $this->message; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /protected/vendors/firephp/lib/Insight/Plugin/Page.php: -------------------------------------------------------------------------------- 1 | message->api('Insight_Plugin_Console')->meta(array( 7 | 'context' => 'page', 8 | 'target' => 'console' 9 | )); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /protected/vendors/firephp/lib/Insight/Plugin/Plugin/Message.php: -------------------------------------------------------------------------------- 1 | type = $message['type']; 10 | $this->data = $message['data']; 11 | } 12 | 13 | public function getType() { 14 | return $this->type; 15 | } 16 | 17 | public function getData() { 18 | return $this->data; 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /protected/vendors/firephp/lib/Insight/Plugin/Process.php: -------------------------------------------------------------------------------- 1 | message->api('Insight_Plugin_Console')->meta(array( 7 | 'context' => 'process', 8 | 'target' => 'console/' . $name 9 | )); 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /protected/vendors/firephp/lib/Insight/Plugin/Request.php: -------------------------------------------------------------------------------- 1 | message->api('Insight_Plugin_Console')->meta(array( 7 | 'context' => 'request', 8 | 'target' => 'console/' . $name 9 | )); 10 | } 11 | 12 | public function files() { 13 | return $this->message->api('Insight_Plugin_Files')->meta(array( 14 | 'context' => 'request' 15 | )); 16 | } 17 | 18 | 19 | 20 | /* 21 | public function timeline($name) { 22 | return $this->message->api(new Insight_Plugin_Timeline())->meta(array( 23 | 'target' => 'timeline/' . $name 24 | )); 25 | } 26 | */ 27 | } -------------------------------------------------------------------------------- /protected/vendors/firephp/lib/Insight/Plugin/Tester.php: -------------------------------------------------------------------------------- 1 | getAction()=='TestClient') { 8 | 9 | FirePHP::to('controller')->triggerClientTest($request->getArguments()); 10 | 11 | return array( 12 | 'type' => 'text/plain', 13 | 'data' => "OK" 14 | ); 15 | } 16 | return false; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /protected/vendors/firephp/lib/Insight/Plugin/Timeline.php: -------------------------------------------------------------------------------- 1 | message->meta(array( 8 | 'renderer' => $renderer 9 | )); 10 | } 11 | 12 | public function set($name, $value) { 13 | return $this->message->send(array( 14 | 'name' => $name, 15 | 'value' => $value 16 | )); 17 | } 18 | */ 19 | 20 | } 21 | -------------------------------------------------------------------------------- /protected/vendors/firephp/lib/Insight/Receiver/Announce.php: -------------------------------------------------------------------------------- 1 | getData()); 14 | 15 | if(isset($data['authkey'])) { 16 | if(!isset($this->data['authkeys'])) { 17 | $this->data['authkeys'] = array(); 18 | } 19 | $this->data['authkeys'][] = $data['authkey']; 20 | } 21 | 22 | if(isset($data['receivers'])) { 23 | if(!isset($this->data['receivers'])) { 24 | $this->data['receivers'] = array(); 25 | } 26 | $this->data['receivers'] = array_merge($this->data['receivers'], $data['receivers']); 27 | array_unique($this->data['receivers']); 28 | } 29 | } 30 | 31 | public function getAuthkeys() { 32 | if(!$this->data || !$this->data["authkeys"]) return false; 33 | return $this->data["authkeys"]; 34 | } 35 | 36 | public function getReceivers() { 37 | if(!$this->data || !$this->data["receivers"]) return false; 38 | return $this->data["receivers"]; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /protected/vendors/firephp/lib/Wildfire/Channel/FlushListener.php: -------------------------------------------------------------------------------- 1 | headers[$key] = $value; 11 | } 12 | 13 | public function getMessagePart($key) 14 | { 15 | if(!isset($this->headers[$key])) return false; 16 | return $this->headers[$key]; 17 | } 18 | 19 | } 20 | -------------------------------------------------------------------------------- /protected/vendors/firephp/lib/Wildfire/Dispatcher.php: -------------------------------------------------------------------------------- 1 | channel = $channel; 15 | } 16 | 17 | public function setProtocol($protocol) 18 | { 19 | $this->protocol = $protocol; 20 | } 21 | 22 | public function getProtocol() 23 | { 24 | return $this->protocol; 25 | } 26 | 27 | public function setSender($sender) 28 | { 29 | $this->sender = $sender; 30 | } 31 | 32 | public function getSender() 33 | { 34 | return $this->sender; 35 | } 36 | 37 | public function setReceiver($receiver) 38 | { 39 | $this->receiver = $receiver; 40 | } 41 | 42 | public function getReceiver() 43 | { 44 | return $this->receiver; 45 | } 46 | 47 | public function dispatch(Wildfire_Message $message) 48 | { 49 | if(!$message->getProtocol()) $message->setProtocol($this->protocol); 50 | if(!$message->getSender()) $message->setSender($this->sender); 51 | if(!$message->getReceiver()) $message->setReceiver($this->receiver); 52 | $this->channel->enqueueOutgoing($message); 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /protected/vendors/firephp/lib/Wildfire/Protocol.php: -------------------------------------------------------------------------------- 1 | uri = $uri; 30 | } 31 | 32 | abstract public function parse(&$buffers, &$receivers, &$senders, &$messages, $key, $value); 33 | abstract public function encodeMessage($options, $message); 34 | abstract public function encodeKey($util, $receiverId, $senderId); 35 | 36 | } 37 | -------------------------------------------------------------------------------- /protected/vendors/firephp/lib/Wildfire/Receiver/Relay.php: -------------------------------------------------------------------------------- 1 | targetChannel = $channel; 14 | } 15 | 16 | public function onMessageReceived(Wildfire_Message $message) 17 | { 18 | $this->targetChannel->enqueueOutgoing($message); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /protected/vendors/firephp/lib/Wildfire/Util.php: -------------------------------------------------------------------------------- 1 | true)); 10 | } 11 | } 12 | 13 | public static function json_decode($str) { 14 | if(function_exists('json_decode')) { 15 | return json_decode($str, true); 16 | } else { 17 | return Zend_Json::decode($str); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /protected/vendors/firephp/lib/Zend/Exception.php: -------------------------------------------------------------------------------- 1 | _headers; 17 | } 18 | public function _clearHeaders() { 19 | $this->_headers = array(); 20 | } 21 | 22 | 23 | // ###################### 24 | // # Subclassed Methods # 25 | // ###################### 26 | 27 | protected function setHeader($Name, $Value) { 28 | $this->_headers[$Name] = $Value; 29 | } 30 | 31 | protected function headersSent(&$Filename, &$Linenum) { 32 | return false; 33 | } 34 | 35 | public function detectClientExtension() { 36 | return true; 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /protected/vendors/firephp/tests/phpunit/phpunit/FirePHP/InitTest.php: -------------------------------------------------------------------------------- 1 | console(); 11 | 12 | $console->label('Label 1')->log('Hello World 1'); 13 | $console->expand()->label('Label 2')->log('Hello World 2'); 14 | 15 | $console->show(); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /protected/vendors/firephp/tests/phpunit/phpunit/TestHelper.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | <?php echo CHtml::encode($this->pageTitle); ?> 10 | 11 | 12 | 16 | 17 | 18 | params->render_switch_form): ?> 19 |
20 | renderPartial('/layouts/_switch');?> 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /protected/views/mailer/activation.php: -------------------------------------------------------------------------------- 1 |
2 |

3 | Hello .In order to complete your registration,you have to activate your account.
4 | Click on the link below. 5 |

6 |
15 | Activate 17 |
18 |
19 | -------------------------------------------------------------------------------- /protected/views/mailer/contact.php: -------------------------------------------------------------------------------- 1 |
2 |

3 |

( )

4 |

5 | 6 |

7 |
8 | -------------------------------------------------------------------------------- /protected/views/mailer/layouts/main.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | <?php echo Yii::app() ->name;?> 6 | 7 | 9 |
10 | 11 |

name;?>

12 |
13 | 14 |
15 |
16 | Copyright © 2013 name;?> , All rights reserved. 17 |
18 |
19 | 20 | -------------------------------------------------------------------------------- /protected/views/mailer/layouts/main2.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | <?php echo Yii::app() ->name;?> 6 | 7 | 9 |
10 | 11 |

name;?>

12 |
13 | 14 |
15 |
16 | Copyright © 2013 name;?> , All rights reserved. 17 |
18 |
19 | 20 | -------------------------------------------------------------------------------- /protected/views/mailer/layouts/main3.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | <?php echo Yii::app() ->name;?> 6 | 7 | 10 |
11 | 12 |

name;?>

13 |
14 | 15 |
16 |
17 | Copyright © 2013 name;?> , All rights reserved. 18 |
19 |
20 | 21 | -------------------------------------------------------------------------------- /protected/views/mailer/pwd_reset.php: -------------------------------------------------------------------------------- 1 |
2 |

3 | Hello ,you requested a password reset. 4 | Please click on the link below in order to perform the reset.
5 | If you did not ask for a password reset,please ignore this email. 6 |

7 |
16 | Reset Password 18 |
19 |
20 | -------------------------------------------------------------------------------- /protected/views/site/error.php: -------------------------------------------------------------------------------- 1 | pageTitle=Yii::app()->name . ' - Error'; 3 | $this->breadcrumbs=array( 4 | 'Error', 5 | ); 6 | ?> 7 |
8 | 9 | 10 |
11 | 12 |
13 |
-------------------------------------------------------------------------------- /protected/views/site/index.php: -------------------------------------------------------------------------------- 1 |
2 |

name); ?>

3 | 4 |

Use this document as a way to quickly start any new project.
All you get is this text and a 5 | mostly barebones HTML document.

6 |
-------------------------------------------------------------------------------- /protected/views/site/index_starter-template.php: -------------------------------------------------------------------------------- 1 |
2 |

Bootstrap starter template

3 | 4 |

Use this document as a way to quickly start any new project.
All you get is this text and a 5 | mostly barebones HTML document.

6 | 7 |

Welcome to name); ?>

8 | 9 |

You may change the content of this page by modifying the following two files:

10 |
    11 |
  • Views file:
  • 12 |
  • Layout file: getLayoutFile('starter'); ?>
  • 13 |
14 |

For more details on how to further develop this application, please read 15 | the documentation. 16 | Feel free to ask in the forum 17 |

-------------------------------------------------------------------------------- /protected/views/site/pages/about.php: -------------------------------------------------------------------------------- 1 | pageTitle = Yii::app()->name . ' - About'; 3 | $this->breadcrumbs = array( 4 | 'About', 5 | ); 6 | ?> 7 |
8 |
9 |
10 | 14 |
15 |
16 |

About

17 | 18 |

This is a "static" page. You may change the content of this page 19 | by updating the file .

20 |
21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /protected/yiic: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env php 2 | 2 | pageTitle=Yii::app()->name . ' - Email For Reset '; 4 | $this->breadcrumbs=array( 5 | 'Email for Reset', 6 | ); 7 | 8 | Yii::import('bootstrap.widgets.input.*'); 9 | ?> 10 | 11 |

Password Reset

12 |

13 | 14 |
15 | beginWidget('bootstrap.widgets.TbActiveForm', array( 16 | 'id'=>'email-form', 17 | 'layout'=>'horizontal', 18 | 'enableClientValidation'=>true, 19 | 'htmlOptions'=>array('class'=>''), 20 | 'clientOptions'=>array( 21 | 'validateOnSubmit'=>true, 22 | ), 23 | )); ?> 24 | 25 |

Fields with * are required.

26 | 27 | textFieldControlGroup($model, 'email'); ?> 28 | 29 | 30 | TbHtml::BUTTON_COLOR_PRIMARY, 'icon'=>'ok')), 32 | TbHtml::resetButton('Reset'), 33 | )); ?> 34 | 35 | 36 | endWidget(); ?> 37 |
38 | -------------------------------------------------------------------------------- /themes/bootstrap2/views/site/error.php: -------------------------------------------------------------------------------- 1 | pageTitle=Yii::app()->name . ' - Error'; 3 | $this->breadcrumbs=array( 4 | 'Error', 5 | ); 6 | ?> 7 | 8 |

Error

9 | 10 |
11 | 12 |
-------------------------------------------------------------------------------- /themes/bootstrap2/views/site/index_starter.php: -------------------------------------------------------------------------------- 1 | pageTitle = Yii::app()->name; ?> 2 |

Welcome to name); ?>

3 |

Bootstrap starter template

4 |

Use this document as a way to quick start any new project.
All you get is this message and a barebones HTML document.

5 |

You may change the content of this page by modifying the following two files:

6 |
    7 |
  1. Views file:
  2. 8 |
  3. Layout file: getLayoutFile('starter'); ?>
  4. 9 |
10 |

For more details on how to further develop this application, please read 11 | the documentation. 12 | Feel free to ask in the forum 13 | 14 | 15 | -------------------------------------------------------------------------------- /themes/bootstrap2/views/site/pages/about.php: -------------------------------------------------------------------------------- 1 |

2 | pageTitle=Yii::app()->name . ' - About'; 4 | $this->breadcrumbs=array( 5 | 'About', 6 | ); 7 | ?> 8 | 9 |

About

10 | 11 |

This is a "static" page. You may change the content of this page 12 | by updating the file .

13 | 14 |
-------------------------------------------------------------------------------- /themes/bootstrap2/views/site/password_reset.php: -------------------------------------------------------------------------------- 1 |
2 | pageTitle=Yii::app()->name . ' - Reset Password'; 4 | $this->breadcrumbs=array( 5 | 'Reset', 6 | ); 7 | 8 | Yii::import('bootstrap.widgets.input.*'); 9 | ?> 10 | 11 |

Password Reset

12 | 13 |
14 | beginWidget('bootstrap.widgets.TbActiveForm', array( 15 | 'id'=>'password-form', 16 | 'layout'=>'horizontal', 17 | 'enableClientValidation'=>true, 18 | 'htmlOptions'=>array('class'=>''), 19 | 'clientOptions'=>array( 20 | 'validateOnSubmit'=>true, 21 | ), 22 | )); ?> 23 | 24 |

Fields with * are required.

25 | 26 | PasswordFieldControlGroup($model, 'password', array('placeholder'=>'password','help' => 'Enter your new password')); ?> 27 | 28 | hiddenField($model, 'key', array('value'=>$key,'class'=>'span3'));?> 29 | hiddenField($model, 'email', array('value'=>$email,'class'=>'span3'));?> 30 | 31 | 32 | TbHtml::BUTTON_COLOR_PRIMARY, 'icon'=>'ok')), 34 | TbHtml::resetButton('Reset'), 35 | )); ?> 36 | endWidget(); ?> 37 |
38 |
-------------------------------------------------------------------------------- /themes/classic/views/.htaccess: -------------------------------------------------------------------------------- 1 | deny from all 2 | -------------------------------------------------------------------------------- /yiistrap_assets/img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/yiistrap_assets/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /yiistrap_assets/img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/yiistrap_assets/img/glyphicons-halflings.png -------------------------------------------------------------------------------- /yiistrap_assets/img/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kabasakalis/angular-music-db/fbcca5e061d69e40dae9de0f75a47a53055d5c39/yiistrap_assets/img/loader.gif -------------------------------------------------------------------------------- /yiistrap_assets/layouts/fluid.css: -------------------------------------------------------------------------------- 1 | /** 2 | * File fluid.css in Project Yii app 3 | * Date: October 20 th 2013 , 10:58 AM 4 | * Author Spiros Kabasakalis , kabasakalis@gmail.com 5 | * Github https://github.com/drumaddict 6 | * InfoWebSphere,http://iws.kabasakalis.gr 7 | * YiiLab,http://yiilab.kabasakalis.tk 8 | */ 9 | 10 | body { 11 | padding-top: 60px; 12 | padding-bottom: 40px; 13 | } 14 | .sidebar-nav { 15 | padding: 9px 0; 16 | } 17 | 18 | @media (max-width: 980px) { 19 | /* Enable use of floated navbar text */ 20 | .navbar-text.pull-right { 21 | float: none; 22 | padding-left: 5px; 23 | padding-right: 5px; 24 | } 25 | } -------------------------------------------------------------------------------- /yiistrap_assets/layouts/hero.css: -------------------------------------------------------------------------------- 1 | 2 | body { 3 | padding-top: 60px; 4 | padding-bottom: 40px; 5 | } 6 | -------------------------------------------------------------------------------- /yiistrap_assets/layouts/justified-nav.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding-top: 20px; 3 | padding-bottom: 60px; 4 | } 5 | 6 | /* Custom container */ 7 | .container { 8 | margin: 0 auto; 9 | max-width: 1000px; 10 | } 11 | .container > hr { 12 | margin: 60px 0; 13 | } 14 | 15 | /* Main marketing message and sign up button */ 16 | .jumbotron { 17 | margin: 80px 0; 18 | text-align: center; 19 | } 20 | .jumbotron h1 { 21 | font-size: 100px; 22 | line-height: 1; 23 | } 24 | .jumbotron .lead { 25 | font-size: 24px; 26 | line-height: 1.25; 27 | } 28 | .jumbotron .btn { 29 | font-size: 21px; 30 | padding: 14px 24px; 31 | } 32 | 33 | /* Supporting marketing content */ 34 | .marketing { 35 | margin: 60px 0; 36 | } 37 | .marketing p + h4 { 38 | margin-top: 28px; 39 | } 40 | 41 | 42 | /* Customize the navbar links to be fill the entire space of the .navbar */ 43 | .navbar .navbar-inner { 44 | padding: 0; 45 | } 46 | .navbar .nav { 47 | margin: 0; 48 | display: table; 49 | width: 100%; 50 | } 51 | .navbar .nav li { 52 | display: table-cell; 53 | width: 1%; 54 | float: none; 55 | } 56 | .navbar .nav li a { 57 | font-weight: bold; 58 | text-align: center; 59 | border-left: 1px solid rgba(255,255,255,.75); 60 | border-right: 1px solid rgba(0,0,0,.1); 61 | } 62 | .navbar .nav li:first-child a { 63 | border-left: 0; 64 | border-radius: 3px 0 0 3px; 65 | } 66 | .navbar .nav li:last-child a { 67 | border-right: 0; 68 | border-radius: 0 3px 3px 0; 69 | } -------------------------------------------------------------------------------- /yiistrap_assets/layouts/marketing-narrow.css: -------------------------------------------------------------------------------- 1 | body { 2 | padding-top: 20px; 3 | padding-bottom: 40px; 4 | } 5 | 6 | /* Custom container */ 7 | .container-narrow { 8 | margin: 0 auto; 9 | max-width: 700px; 10 | } 11 | .container-narrow > hr { 12 | margin: 30px 0; 13 | } 14 | 15 | /* Main marketing message and sign up button */ 16 | .jumbotron { 17 | margin: 60px 0; 18 | text-align: center; 19 | } 20 | .jumbotron h1 { 21 | font-size: 72px; 22 | line-height: 1; 23 | } 24 | .jumbotron .btn { 25 | font-size: 21px; 26 | padding: 14px 24px; 27 | } 28 | 29 | /* Supporting marketing content */ 30 | .marketing { 31 | margin: 60px 0; 32 | } 33 | .marketing p + h4 { 34 | margin-top: 28px; 35 | } 36 | 37 | 38 | .nav { 39 | margin-bottom: 10px; 40 | } -------------------------------------------------------------------------------- /yiistrap_assets/layouts/starter.css: -------------------------------------------------------------------------------- 1 | /** 2 | * File starter.css in Project Yii App 3 | * Date: October 20 th 2013 , 9:38 AM 4 | * Author Spiros Kabasakalis , kabasakalis@gmail.com 5 | * Github https://github.com/drumaddict 6 | * InfoWebSphere,http://iws.kabasakalis.gr 7 | * YiiLab,http://yiilab.kabasakalis.tk 8 | */ 9 | body { 10 | padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */ 11 | } --------------------------------------------------------------------------------