├── .bowerrc ├── .editorconfig ├── .gitignore ├── README.md ├── bower.json ├── config.xml ├── gulpfile.js ├── hooks ├── README.md ├── after_platform_add │ └── 010_install_plugins.js ├── after_plugin_add │ └── 010_register_plugin.js ├── after_plugin_rm │ └── 010_deregister_plugin.js ├── after_prepare │ ├── 010_add_platform_class.js │ └── 020_remove_sass_from_platforms.js └── before_platform_add │ └── init_directories.js ├── ionic.project ├── npm-debug.log ├── package.json ├── plugins ├── cordova-plugin-console │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── NOTICE │ ├── README.md │ ├── RELEASENOTES.md │ ├── doc │ │ ├── de │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── es │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── fr │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── it │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ja │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ko │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── pl │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ru │ │ │ └── index.md │ │ └── zh │ │ │ ├── README.md │ │ │ └── index.md │ ├── package.json │ ├── plugin.xml │ ├── src │ │ ├── ios │ │ │ ├── CDVLogger.h │ │ │ └── CDVLogger.m │ │ ├── ubuntu │ │ │ ├── console.cpp │ │ │ └── console.h │ │ └── wp │ │ │ └── DebugConsole.cs │ ├── tests │ │ ├── plugin.xml │ │ └── tests.js │ └── www │ │ ├── console-via-logger.js │ │ └── logger.js ├── cordova-plugin-device │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── NOTICE │ ├── README.md │ ├── RELEASENOTES.md │ ├── doc │ │ ├── de │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── es │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── fr │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── it │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ja │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ko │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── pl │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ru │ │ │ └── index.md │ │ └── zh │ │ │ ├── README.md │ │ │ └── index.md │ ├── package.json │ ├── plugin.xml │ ├── src │ │ ├── android │ │ │ └── Device.java │ │ ├── blackberry10 │ │ │ └── index.js │ │ ├── browser │ │ │ └── DeviceProxy.js │ │ ├── firefoxos │ │ │ └── DeviceProxy.js │ │ ├── ios │ │ │ ├── CDVDevice.h │ │ │ └── CDVDevice.m │ │ ├── osx │ │ │ ├── CDVDevice.h │ │ │ └── CDVDevice.m │ │ ├── tizen │ │ │ └── DeviceProxy.js │ │ ├── ubuntu │ │ │ ├── device.cpp │ │ │ ├── device.h │ │ │ └── device.js │ │ ├── windows │ │ │ └── DeviceProxy.js │ │ └── wp │ │ │ └── Device.cs │ ├── tests │ │ ├── plugin.xml │ │ └── tests.js │ └── www │ │ └── device.js ├── cordova-plugin-dialogs │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── NOTICE │ ├── README.md │ ├── RELEASENOTES.md │ ├── doc │ │ ├── de │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── es │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── fr │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── it │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ja │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ko │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── pl │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ru │ │ │ └── index.md │ │ └── zh │ │ │ ├── README.md │ │ │ └── index.md │ ├── package.json │ ├── plugin.xml │ ├── src │ │ ├── android │ │ │ └── Notification.java │ │ ├── blackberry10 │ │ │ └── index.js │ │ ├── firefoxos │ │ │ └── notification.js │ │ ├── ios │ │ │ ├── CDVNotification.bundle │ │ │ │ └── beep.wav │ │ │ ├── CDVNotification.h │ │ │ └── CDVNotification.m │ │ ├── ubuntu │ │ │ ├── notification.cpp │ │ │ ├── notification.h │ │ │ └── notification.qml │ │ ├── windows │ │ │ └── NotificationProxy.js │ │ └── wp │ │ │ ├── Notification.cs │ │ │ ├── NotificationBox.xaml │ │ │ ├── NotificationBox.xaml.cs │ │ │ └── notification-beep.wav │ ├── tests │ │ ├── plugin.xml │ │ └── tests.js │ └── www │ │ ├── android │ │ └── notification.js │ │ ├── blackberry10 │ │ ├── beep.js │ │ └── notification-beep.wav │ │ ├── browser │ │ └── notification.js │ │ ├── firefoxos │ │ ├── danger-press.png │ │ ├── danger.png │ │ ├── default.png │ │ ├── gradient.png │ │ ├── notification.css │ │ ├── pattern.png │ │ └── recommend.png │ │ └── notification.js ├── cordova-plugin-splashscreen │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── NOTICE │ ├── README.md │ ├── RELEASENOTES.md │ ├── doc │ │ ├── de │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── es │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── fr │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── it │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ja │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ko │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── pl │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ru │ │ │ └── index.md │ │ └── zh │ │ │ ├── README.md │ │ │ └── index.md │ ├── package.json │ ├── plugin.xml │ ├── src │ │ ├── android │ │ │ └── SplashScreen.java │ │ ├── blackberry10 │ │ │ └── index.js │ │ ├── browser │ │ │ └── SplashScreenProxy.js │ │ ├── ios │ │ │ ├── CDVSplashScreen.h │ │ │ ├── CDVSplashScreen.m │ │ │ ├── CDVViewController+SplashScreen.h │ │ │ └── CDVViewController+SplashScreen.m │ │ ├── tizen │ │ │ └── SplashScreenProxy.js │ │ ├── ubuntu │ │ │ ├── splashscreen.cpp │ │ │ └── splashscreen.h │ │ └── wp │ │ │ ├── ResolutionHelper.cs │ │ │ └── SplashScreen.cs │ ├── tests │ │ ├── ios │ │ │ ├── CDVSplashScreenTest.xcworkspace │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcshareddata │ │ │ │ │ ├── CDVSplashScreenTest.xccheckout │ │ │ │ │ └── xcschemes │ │ │ │ │ └── CordovaLib.xcscheme │ │ │ ├── CDVSplashScreenTest │ │ │ │ ├── .npmignore │ │ │ │ ├── CDVSplashScreenLibTests │ │ │ │ │ ├── ImageNameTest.m │ │ │ │ │ ├── ImageNameTestDelegates.h │ │ │ │ │ ├── ImageNameTestDelegates.m │ │ │ │ │ └── Info.plist │ │ │ │ └── CDVSplashScreenTest.xcodeproj │ │ │ │ │ ├── project.pbxproj │ │ │ │ │ ├── project.xcworkspace │ │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ │ └── xcshareddata │ │ │ │ │ │ └── CDVSplashScreenTest.xccheckout │ │ │ │ │ └── xcshareddata │ │ │ │ │ └── xcschemes │ │ │ │ │ ├── CDVSplashScreenLib.xcscheme │ │ │ │ │ └── CDVSplashScreenLibTests.xcscheme │ │ │ ├── README.md │ │ │ ├── doc │ │ │ │ ├── de │ │ │ │ │ └── README.md │ │ │ │ ├── es │ │ │ │ │ └── README.md │ │ │ │ ├── fr │ │ │ │ │ └── README.md │ │ │ │ ├── it │ │ │ │ │ └── README.md │ │ │ │ ├── ja │ │ │ │ │ └── README.md │ │ │ │ ├── ko │ │ │ │ │ └── README.md │ │ │ │ ├── pl │ │ │ │ │ └── README.md │ │ │ │ └── zh │ │ │ │ │ └── README.md │ │ │ └── package.json │ │ ├── plugin.xml │ │ └── tests.js │ └── www │ │ ├── splashscreen.js │ │ └── windows │ │ └── SplashScreenProxy.js ├── cordova-plugin-statusbar │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── NOTICE │ ├── README.md │ ├── RELEASENOTES.md │ ├── doc │ │ ├── de │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── es │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── fr │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── it │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ja │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ko │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── pl │ │ │ ├── README.md │ │ │ └── index.md │ │ ├── ru │ │ │ └── index.md │ │ └── zh │ │ │ ├── README.md │ │ │ └── index.md │ ├── package.json │ ├── plugin.xml │ ├── src │ │ ├── android │ │ │ └── StatusBar.java │ │ ├── browser │ │ │ └── statusbar.js │ │ ├── ios │ │ │ ├── CDVStatusBar.h │ │ │ └── CDVStatusBar.m │ │ ├── windows │ │ │ └── StatusBarProxy.js │ │ └── wp │ │ │ └── StatusBar.cs │ ├── tests │ │ ├── plugin.xml │ │ └── tests.js │ └── www │ │ └── statusbar.js ├── cordova-plugin-whitelist │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── NOTICE │ ├── README.md │ ├── RELEASENOTES.md │ ├── doc │ │ ├── de │ │ │ └── README.md │ │ ├── es │ │ │ └── README.md │ │ ├── fr │ │ │ └── README.md │ │ ├── it │ │ │ └── README.md │ │ ├── ja │ │ │ └── README.md │ │ ├── ko │ │ │ └── README.md │ │ ├── pl │ │ │ └── README.md │ │ └── zh │ │ │ └── README.md │ ├── package.json │ ├── plugin.xml │ ├── src │ │ └── android │ │ │ └── WhitelistPlugin.java │ └── whitelist.js ├── fetch.json └── ionic-plugin-keyboard │ ├── LICENSE │ ├── README.md │ ├── package.json │ ├── plugin.xml │ ├── src │ ├── android │ │ └── IonicKeyboard.java │ ├── blackberry10 │ │ ├── index.js │ │ └── native │ │ │ ├── .cproject │ │ │ ├── .project │ │ │ ├── device │ │ │ ├── libKeyboard.so │ │ │ ├── public │ │ │ │ ├── json_reader.o │ │ │ │ ├── json_value.o │ │ │ │ ├── json_writer.o │ │ │ │ ├── plugin.o │ │ │ │ └── tokenizer.o │ │ │ └── src │ │ │ │ ├── CallKeyboard.o │ │ │ │ ├── Logger.o │ │ │ │ ├── keyboard_js.o │ │ │ │ └── keyboard_ndk.o │ │ │ ├── public │ │ │ ├── json │ │ │ │ ├── autolink.h │ │ │ │ ├── config.h │ │ │ │ ├── features.h │ │ │ │ ├── forwards.h │ │ │ │ ├── json.h │ │ │ │ ├── reader.h │ │ │ │ ├── value.h │ │ │ │ └── writer.h │ │ │ ├── json_batchallocator.h │ │ │ ├── json_internalarray.inl │ │ │ ├── json_internalmap.inl │ │ │ ├── json_reader.cpp │ │ │ ├── json_value.cpp │ │ │ ├── json_valueiterator.inl │ │ │ ├── json_writer.cpp │ │ │ ├── plugin.cpp │ │ │ ├── plugin.h │ │ │ ├── tokenizer.cpp │ │ │ └── tokenizer.h │ │ │ ├── simulator │ │ │ ├── libKeyboard.so │ │ │ ├── public │ │ │ │ ├── json_reader.o │ │ │ │ ├── json_value.o │ │ │ │ ├── json_writer.o │ │ │ │ ├── plugin.o │ │ │ │ └── tokenizer.o │ │ │ └── src │ │ │ │ ├── CallKeyboard.o │ │ │ │ ├── Logger.o │ │ │ │ ├── keyboard_js.o │ │ │ │ └── keyboard_ndk.o │ │ │ └── src │ │ │ ├── Logger.cpp │ │ │ ├── Logger.hpp │ │ │ ├── keyboard_js.cpp │ │ │ ├── keyboard_js.hpp │ │ │ ├── keyboard_ndk.cpp │ │ │ └── keyboard_ndk.hpp │ ├── ios │ │ ├── IonicKeyboard.h │ │ ├── IonicKeyboard.m │ │ ├── UIWebViewExtension.h │ │ └── UIWebViewExtension.m │ └── windows │ │ └── KeyboardProxy.js │ └── www │ ├── android │ └── keyboard.js │ └── ios │ └── keyboard.js ├── push.sh ├── resources ├── android │ ├── icon │ │ ├── drawable-hdpi-icon.png │ │ ├── drawable-ldpi-icon.png │ │ ├── drawable-mdpi-icon.png │ │ ├── drawable-xhdpi-icon.png │ │ ├── drawable-xxhdpi-icon.png │ │ └── drawable-xxxhdpi-icon.png │ └── splash │ │ ├── drawable-land-hdpi-screen.png │ │ ├── drawable-land-ldpi-screen.png │ │ ├── drawable-land-mdpi-screen.png │ │ ├── drawable-land-xhdpi-screen.png │ │ ├── drawable-land-xxhdpi-screen.png │ │ ├── drawable-land-xxxhdpi-screen.png │ │ ├── drawable-port-hdpi-screen.png │ │ ├── drawable-port-ldpi-screen.png │ │ ├── drawable-port-mdpi-screen.png │ │ ├── drawable-port-xhdpi-screen.png │ │ ├── drawable-port-xxhdpi-screen.png │ │ └── drawable-port-xxxhdpi-screen.png ├── demo0.png ├── demo1.png ├── demo2.png ├── demo3.png ├── icon.png ├── ios │ ├── icon │ │ ├── icon-40.png │ │ ├── icon-40@2x.png │ │ ├── icon-50.png │ │ ├── icon-50@2x.png │ │ ├── icon-60.png │ │ ├── icon-60@2x.png │ │ ├── icon-60@3x.png │ │ ├── icon-72.png │ │ ├── icon-72@2x.png │ │ ├── icon-76.png │ │ ├── icon-76@2x.png │ │ ├── icon-small.png │ │ ├── icon-small@2x.png │ │ ├── icon-small@3x.png │ │ ├── icon.png │ │ └── icon@2x.png │ └── splash │ │ ├── Default-568h@2x~iphone.png │ │ ├── Default-667h.png │ │ ├── Default-736h.png │ │ ├── Default-Landscape-736h.png │ │ ├── Default-Landscape@2x~ipad.png │ │ ├── Default-Landscape~ipad.png │ │ ├── Default-Portrait@2x~ipad.png │ │ ├── Default-Portrait~ipad.png │ │ ├── Default@2x~iphone.png │ │ └── Default~iphone.png └── splash.png ├── scss ├── ionic.app.css └── ionic.app.scss ├── serve.sh └── www ├── css ├── style.css └── style.css.map ├── data └── city.json ├── img ├── acount.png ├── adam.jpg ├── addportrait.png ├── background.jpg ├── ben.png ├── callback.png ├── customer.png ├── default.png ├── invite.png ├── ionic.png ├── max.png ├── message.png ├── mike.png ├── notification.png ├── perry.png ├── question.png ├── service.png ├── setting.png └── team.png ├── index.html ├── js ├── app-config.js ├── app.js ├── bootstrap.js ├── controllers │ ├── activitymsg.js │ ├── add.js │ ├── addAct.js │ ├── addPost.js │ ├── content-mine.js │ ├── createGroup.js │ ├── findpsw.js │ ├── friend.js │ ├── friendDetail.js │ ├── giveup.js │ ├── groupDetail.js │ ├── groupmsg.js │ ├── home.js │ ├── index.js │ ├── location.js │ ├── login.js │ ├── message.js │ ├── mine.js │ ├── myact.js │ ├── mypost.js │ ├── personal.js │ ├── protocolText.js │ ├── register.js │ ├── search.js │ ├── set.js │ └── userText.js ├── require-config.js ├── routes.js └── utils │ ├── citySelect.js │ ├── geturl_service.js │ ├── md5.js │ ├── storage.js │ └── tips.js ├── lib ├── angular-animate │ ├── .bower.json │ ├── README.md │ ├── angular-animate.js │ ├── angular-animate.min.js │ ├── angular-animate.min.js.map │ ├── bower.json │ ├── index.js │ └── package.json ├── angular-sanitize │ ├── .bower.json │ ├── README.md │ ├── angular-sanitize.js │ ├── angular-sanitize.min.js │ ├── angular-sanitize.min.js.map │ ├── bower.json │ ├── index.js │ └── package.json ├── angular-ui-router │ ├── .bower.json │ ├── CHANGELOG.md │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── README.md │ ├── api │ │ └── angular-ui-router.d.ts │ ├── bower.json │ ├── release │ │ ├── angular-ui-router.js │ │ └── angular-ui-router.min.js │ └── src │ │ ├── common.js │ │ ├── resolve.js │ │ ├── state.js │ │ ├── stateDirectives.js │ │ ├── stateFilters.js │ │ ├── templateFactory.js │ │ ├── urlMatcherFactory.js │ │ ├── urlRouter.js │ │ ├── view.js │ │ ├── viewDirective.js │ │ └── viewScroll.js ├── angular │ ├── .bower.json │ ├── README.md │ ├── angular-csp.css │ ├── angular.js │ ├── angular.min.js │ ├── angular.min.js.gzip │ ├── angular.min.js.map │ ├── bower.json │ ├── index.js │ └── package.json ├── async-loader │ ├── angular-async-loader.js │ └── angular-async-loader.min.js ├── ionic │ ├── css │ │ ├── ionic.css │ │ └── ionic.min.css │ ├── fonts │ │ ├── ionicons.eot │ │ ├── ionicons.svg │ │ ├── ionicons.ttf │ │ └── ionicons.woff │ ├── js │ │ ├── angular-ui │ │ │ ├── angular-ui-router.js │ │ │ └── angular-ui-router.min.js │ │ ├── angular │ │ │ ├── angular-animate.js │ │ │ ├── angular-animate.min.js │ │ │ ├── angular-resource.js │ │ │ ├── angular-resource.min.js │ │ │ ├── angular-sanitize.js │ │ │ ├── angular-sanitize.min.js │ │ │ ├── angular.js │ │ │ └── angular.min.js │ │ ├── ionic-angular.js │ │ ├── ionic-angular.min.js │ │ ├── ionic.bundle.js │ │ ├── ionic.bundle.min.js │ │ ├── ionic.js │ │ └── ionic.min.js │ ├── scss │ │ ├── _action-sheet.scss │ │ ├── _animations.scss │ │ ├── _backdrop.scss │ │ ├── _badge.scss │ │ ├── _bar.scss │ │ ├── _button-bar.scss │ │ ├── _button.scss │ │ ├── _checkbox.scss │ │ ├── _form.scss │ │ ├── _grid.scss │ │ ├── _items.scss │ │ ├── _list.scss │ │ ├── _loading.scss │ │ ├── _menu.scss │ │ ├── _mixins.scss │ │ ├── _modal.scss │ │ ├── _platform.scss │ │ ├── _popover.scss │ │ ├── _popup.scss │ │ ├── _progress.scss │ │ ├── _radio.scss │ │ ├── _range.scss │ │ ├── _refresher.scss │ │ ├── _reset.scss │ │ ├── _scaffolding.scss │ │ ├── _select.scss │ │ ├── _slide-box.scss │ │ ├── _slides.scss │ │ ├── _spinner.scss │ │ ├── _tabs.scss │ │ ├── _toggle.scss │ │ ├── _transitions.scss │ │ ├── _type.scss │ │ ├── _util.scss │ │ ├── _variables.scss │ │ ├── ionic.scss │ │ └── ionicons │ │ │ ├── _ionicons-font.scss │ │ │ ├── _ionicons-icons.scss │ │ │ ├── _ionicons-variables.scss │ │ │ └── ionicons.scss │ └── version.json ├── ngCordova │ ├── .bower.json │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── bower.json │ ├── dist │ │ ├── ng-cordova-mocks.js │ │ ├── ng-cordova-mocks.min.js │ │ ├── ng-cordova.js │ │ └── ng-cordova.min.js │ └── package.json ├── requirejs │ ├── .bower.json │ ├── README.md │ ├── bower.json │ └── require.js └── zepto │ ├── zepto.js │ └── zepto.min.js ├── sass ├── _mixin.scss ├── _register.scss └── style.scss └── templates ├── activitymsg.html ├── add.html ├── addAct.html ├── addPost.html ├── content-mine.html ├── createGroup.html ├── findpsw.html ├── friend.html ├── friendDetail.html ├── giveup.html ├── groupDetail.html ├── groupmsg.html ├── home.html ├── index.html ├── location.html ├── login.html ├── message.html ├── mine.html ├── myact.html ├── mypost.html ├── personal.html ├── protocolText.html ├── register.html ├── search.html ├── set.html ├── tabs.html └── userText.html /.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "www/lib" 3 | } 4 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # http://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | indent_style = space 7 | indent_size = 2 8 | end_of_line = lf 9 | insert_final_newline = true 10 | trim_trailing_whitespace = true 11 | 12 | [*.md] 13 | insert_final_newline = false 14 | trim_trailing_whitespace = false -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Specifies intentionally untracked files to ignore when using Git 2 | # http://git-scm.com/docs/gitignore 3 | 4 | node_modules/ 5 | platforms/ 6 | .idea/ 7 | *.swp 8 | .DS_Store 9 | 10 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ionic-social-app 2 | 3 | ionic app social -- a free app as demo to learn ionic...
4 | ionic is a web framework for us to develop web apps ...
5 | bla bla bla...
6 | 7 | # How to use 8 | * At first, you should learn to install the environment of ionic. "click here to learn" 9 | * Then, just download the project..."git clone ..." 10 | * You can use the web browser to run the demo by use the command after installing the environment: 11 | * cd /ionic-social-app 12 | * ionic serve -lc 13 | 14 | # The Screenshot 15 | 16 | 17 | 18 | 19 | 20 | 21 | # Learn More 22 | 23 | **中文教程Blog** 24 | 25 | #License 26 | 27 | Social is open source and covered by a standard 2-clause BSD license. See the LICENSE file for more info. 28 | 29 | Social is Free Software licensed under the GNU General Public License. 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "social", 3 | "private": "true", 4 | "devDependencies": { 5 | "ionic": "driftyco/ionic-bower#1.2.4" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | var gutil = require('gulp-util'); 3 | var bower = require('bower'); 4 | var concat = require('gulp-concat'); 5 | var sass = require('gulp-sass'); 6 | var minifyCss = require('gulp-minify-css'); 7 | var rename = require('gulp-rename'); 8 | var sh = require('shelljs'); 9 | 10 | var paths = { 11 | sass: ['./scss/**/*.scss'] 12 | }; 13 | 14 | gulp.task('default', ['sass']); 15 | 16 | gulp.task('sass', function(done) { 17 | gulp.src('./scss/ionic.app.scss') 18 | .pipe(sass()) 19 | .on('error', sass.logError) 20 | .pipe(gulp.dest('./www/css/')) 21 | .pipe(minifyCss({ 22 | keepSpecialComments: 0 23 | })) 24 | .pipe(rename({ extname: '.min.css' })) 25 | .pipe(gulp.dest('./www/css/')) 26 | .on('end', done); 27 | }); 28 | 29 | gulp.task('watch', function() { 30 | gulp.watch(paths.sass, ['sass']); 31 | }); 32 | 33 | gulp.task('install', ['git-check'], function() { 34 | return bower.commands.install() 35 | .on('log', function(data) { 36 | gutil.log('bower', gutil.colors.cyan(data.id), data.message); 37 | }); 38 | }); 39 | 40 | gulp.task('git-check', function(done) { 41 | if (!sh.which('git')) { 42 | console.log( 43 | ' ' + gutil.colors.red('Git is not installed.'), 44 | '\n Git, the version control system, is required to download Ionic.', 45 | '\n Download git here:', gutil.colors.cyan('http://git-scm.com/downloads') + '.', 46 | '\n Once git is installed, run \'' + gutil.colors.cyan('gulp install') + '\' again.' 47 | ); 48 | process.exit(1); 49 | } 50 | done(); 51 | }); 52 | -------------------------------------------------------------------------------- /hooks/after_platform_add/010_install_plugins.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | /** 4 | * Install all plugins listed in package.json 5 | * https://raw.githubusercontent.com/diegonetto/generator-ionic/master/templates/hooks/after_platform_add/install_plugins.js 6 | */ 7 | var exec = require('child_process').exec; 8 | var path = require('path'); 9 | var sys = require('sys'); 10 | 11 | var packageJSON = null; 12 | 13 | try { 14 | packageJSON = require('../../package.json'); 15 | } catch(ex) { 16 | console.log('\nThere was an error fetching your package.json file.') 17 | console.log('\nPlease ensure a valid package.json is in the root of this project\n') 18 | return; 19 | } 20 | 21 | var cmd = process.platform === 'win32' ? 'cordova.cmd' : 'cordova'; 22 | // var script = path.resolve(__dirname, '../../node_modules/cordova/bin', cmd); 23 | 24 | packageJSON.cordovaPlugins = packageJSON.cordovaPlugins || []; 25 | packageJSON.cordovaPlugins.forEach(function (plugin) { 26 | exec('cordova plugin add ' + plugin, function (error, stdout, stderr) { 27 | sys.puts(stdout); 28 | }); 29 | }); 30 | -------------------------------------------------------------------------------- /hooks/after_plugin_rm/010_deregister_plugin.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | /** 4 | * Remove plugins from cordovaPlugins array after_plugin_rm 5 | */ 6 | var fs = require('fs'); 7 | var packageJSON = require('../../package.json'); 8 | 9 | packageJSON.cordovaPlugins = packageJSON.cordovaPlugins || []; 10 | 11 | process.env.CORDOVA_PLUGINS.split(',').forEach(function (plugin) { 12 | var index = packageJSON.cordovaPlugins.indexOf(plugin); 13 | if (index > -1) { 14 | packageJSON.cordovaPlugins.splice(index, 1); 15 | } else { 16 | //If it didnt find a match, it may be listed as {id,locator} 17 | for(var i = 0, j = packageJSON.cordovaPlugins.length; i < j; i++) { 18 | var packagePlugin = packageJSON.cordovaPlugins[i]; 19 | if(typeof packagePlugin == 'object' && packagePlugin.id == plugin) { 20 | packageJSON.cordovaPlugins.splice(index, 1); 21 | break; 22 | } 23 | } 24 | } 25 | }); 26 | 27 | fs.writeFile('package.json', JSON.stringify(packageJSON, null, 2)); 28 | -------------------------------------------------------------------------------- /hooks/after_prepare/020_remove_sass_from_platforms.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | /** 4 | * After prepare, files are copied to the platforms/ios and platforms/android folders. 5 | * Lets clean up some of those files that arent needed with this hook. 6 | */ 7 | var fs = require('fs'); 8 | var path = require('path'); 9 | 10 | var deleteFolderRecursive = function(removePath) { 11 | if( fs.existsSync(removePath) ) { 12 | fs.readdirSync(removePath).forEach(function(file,index){ 13 | var curPath = path.join(removePath, file); 14 | if(fs.lstatSync(curPath).isDirectory()) { // recurse 15 | deleteFolderRecursive(curPath); 16 | } else { // delete file 17 | fs.unlinkSync(curPath); 18 | } 19 | }); 20 | fs.rmdirSync(removePath); 21 | } 22 | }; 23 | 24 | var iosPlatformsDir = path.resolve(__dirname, '../../platforms/ios/www/lib/ionic/scss'); 25 | var androidPlatformsDir = path.resolve(__dirname, '../../platforms/android/assets/www/lib/ionic/scss'); 26 | 27 | deleteFolderRecursive(iosPlatformsDir); 28 | deleteFolderRecursive(androidPlatformsDir); 29 | -------------------------------------------------------------------------------- /hooks/before_platform_add/init_directories.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | /** 4 | * On a fresh clone, the local platforms/ and plugins/ directories will be 5 | * missing, so ensure they get created before the first platform is added. 6 | */ 7 | var fs = require('fs'); 8 | var path = require('path'); 9 | 10 | var platformsDir = path.resolve(__dirname, '../../platforms'); 11 | var pluginsDir = path.resolve(__dirname, '../../plugins'); 12 | 13 | try { 14 | fs.mkdirSync(platformsDir, function (err) { 15 | if (err) { console.error(err); } 16 | }); 17 | } catch(ex) {} 18 | 19 | try { 20 | fs.mkdirSync(pluginsDir, function (err) { 21 | if (err) { console.error(err); } 22 | }); 23 | } catch(ex) {} 24 | -------------------------------------------------------------------------------- /ionic.project: -------------------------------------------------------------------------------- 1 | { 2 | "name": "social", 3 | "app_id": "" 4 | } 5 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "social", 3 | "version": "1.1.1", 4 | "description": "social: An Ionic project", 5 | "dependencies": { 6 | "gulp": "^3.5.6", 7 | "gulp-sass": "^2.0.4", 8 | "gulp-concat": "^2.2.0", 9 | "gulp-minify-css": "^0.3.0", 10 | "gulp-rename": "^1.2.0" 11 | }, 12 | "devDependencies": { 13 | "bower": "^1.3.3", 14 | "gulp-util": "^2.2.14", 15 | "shelljs": "^0.3.0" 16 | }, 17 | "cordovaPlugins": [ 18 | "cordova-plugin-device", 19 | "cordova-plugin-console", 20 | "cordova-plugin-whitelist", 21 | "cordova-plugin-splashscreen", 22 | "cordova-plugin-statusbar", 23 | "ionic-plugin-keyboard" 24 | ], 25 | "cordovaPlatforms": [] 26 | } 27 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | 21 | 22 | # Contributing to Apache Cordova 23 | 24 | Anyone can contribute to Cordova. And we need your contributions. 25 | 26 | There are multiple ways to contribute: report bugs, improve the docs, and 27 | contribute code. 28 | 29 | For instructions on this, start with the 30 | [contribution overview](http://cordova.apache.org/contribute/). 31 | 32 | The details are explained there, but the important items are: 33 | - Sign and submit an Apache ICLA (Contributor License Agreement). 34 | - Have a Jira issue open that corresponds to your contribution. 35 | - Run the tests so your patch doesn't break existing functionality. 36 | 37 | We look forward to your contributions! 38 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Cordova 2 | Copyright 2012 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/doc/ja/index.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # cordova-plugin-console 21 | 22 | このプラグインは、その console.log() がすることができます便利なことを確認するものです。 それは、iOS、Ubuntu、Windows Phone 8 および Windows 8 の追加関数を追加します。 場合はあなたのための console.log() の作品に満足しているし、おそらく必要はありませんこのプラグイン。 23 | 24 | このプラグインでは、グローバル ・ `console` オブジェクトを定義します。 25 | 26 | オブジェクトは、グローバル スコープでですが、このプラグインによって提供される機能は、`deviceready` イベントの後まで使用できません。 27 | 28 | document.addEventListener("deviceready", onDeviceReady, false); 29 | function onDeviceReady() { 30 | console.log("console.log works well"); 31 | } 32 | 33 | 34 | ## インストール 35 | 36 | cordova plugin add cordova-plugin-console 37 | 38 | 39 | ### Android の癖 40 | 41 | アンドロイド以外のいくつかのプラットフォームで console.log() は console.log (「1」、「2」、「3」) など、複数の引数に動作します。 しかし、アンドロイドは、最初の引数でのみ動作します。 console.log() に後続の引数は無視されます。 このプラグインが原因ではない、それは Android の自体の制限です。 42 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/doc/ko/index.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # cordova-plugin-console 21 | 22 | 이 플러그인을 console.log()로 수 유용 되도록 의미입니다. IOS, 우분투, Windows Phone 8 및 윈도우 8에 대 한 추가 기능을 추가 하 고 합니다. Console.log() 당신을 위해 작동 하는 어떻게 행복 한 경우에, 그때 당신은 아마 필요 하지 않습니다이 플러그인. 23 | 24 | 이 플러그인 글로벌 `console` 개체를 정의합니다. 25 | 26 | 개체가 전역 범위에 있지만,이 플러그인에 의해 제공 되는 기능 하지 사용할 수 있습니다까지 `deviceready` 이벤트 후. 27 | 28 | document.addEventListener("deviceready", onDeviceReady, false); 29 | function onDeviceReady() { 30 | console.log("console.log works well"); 31 | } 32 | 33 | 34 | ## 설치 35 | 36 | cordova plugin add cordova-plugin-console 37 | 38 | 39 | ### 안 드 로이드 단점 40 | 41 | 안 드 로이드 이외의 일부 플랫폼에서 console.log() console.log ("1", "2", "3")와 같이 여러 인수에 작동할 것 이다. 그러나, 안 드 로이드는 첫 번째 인수에만 작동할 것 이다. Console.log() 후속 인수는 무시 됩니다. 이 플러그인의 원인이 되지 않습니다, 그리고 그것은 안 드 로이드 자체의 한계입니다. 42 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/doc/ru/index.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # cordova-plugin-console 21 | 22 | Этот плагин предназначен для обеспечения как полезным, поскольку это может быть что console.log(). Он добавляет дополнительные функции для iOS, Ubuntu, Windows Phone 8 и Windows 8. Если вы не довольны как console.log() работает для вас, то вы вероятно не нужен этот плагин. 23 | 24 | ## Установка 25 | 26 | cordova plugin add cordova-plugin-console 27 | 28 | 29 | ### Особенности Android 30 | 31 | На некоторых платформах, отличных от Android console.log() будет действовать на нескольких аргументов, например console.log («1», «2», «3»). Тем не менее Android будет действовать только на первого аргумента. Последующие аргументы для console.log() будет игнорироваться. Этот плагин не является причиной этого, это ограничение Android сам. 32 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/doc/zh/index.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # cordova-plugin-console 21 | 22 | 這個外掛程式是為了確保該 console.log() 是一樣有用,它可以是。 它將添加附加功能的 iOS、 Ubuntu,Windows Phone 8 和 Windows 8。 如果你是快樂與 console.log() 是如何為你工作,那麼可能不需要這個外掛程式。 23 | 24 | 這個外掛程式定義了一個全域 `console` 物件。 25 | 26 | 儘管物件是在全球範圍內,提供這個外掛程式的功能不可用直到 `deviceready` 事件之後。 27 | 28 | document.addEventListener("deviceready", onDeviceReady, false); 29 | function onDeviceReady() { 30 | console.log("console.log works well"); 31 | } 32 | 33 | 34 | ## 安裝 35 | 36 | cordova plugin add cordova-plugin-console 37 | 38 | 39 | ### Android 的怪癖 40 | 41 | 在一些平臺上除了 Android,console.log() 亦會根據多個參數,如 console.log ("1"、"2"、"3")。 然而,安卓系統只亦會根據第一個參數。 對 console.log() 的後續參數將被忽略。 這個外掛程式不是的原因,它是一個 android 作業系統本身的限制。 42 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-console", 3 | "version": "1.0.2", 4 | "description": "Cordova Console Plugin", 5 | "cordova": { 6 | "id": "cordova-plugin-console", 7 | "platforms": [ 8 | "ios", 9 | "ubuntu", 10 | "wp7", 11 | "wp8", 12 | "windows8", 13 | "windows" 14 | ] 15 | }, 16 | "repository": { 17 | "type": "git", 18 | "url": "https://github.com/apache/cordova-plugin-console" 19 | }, 20 | "keywords": [ 21 | "cordova", 22 | "console", 23 | "ecosystem:cordova", 24 | "cordova-ios", 25 | "cordova-ubuntu", 26 | "cordova-wp7", 27 | "cordova-wp8", 28 | "cordova-windows8", 29 | "cordova-windows" 30 | ], 31 | "author": "Apache Software Foundation", 32 | "license": "Apache 2.0" 33 | } 34 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/src/ios/CDVLogger.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | 22 | @interface CDVLogger : CDVPlugin 23 | 24 | - (void)logLevel:(CDVInvokedUrlCommand*)command; 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/src/ios/CDVLogger.m: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import "CDVLogger.h" 21 | #import 22 | 23 | @implementation CDVLogger 24 | 25 | /* log a message */ 26 | - (void)logLevel:(CDVInvokedUrlCommand*)command 27 | { 28 | id level = [command argumentAtIndex:0]; 29 | id message = [command argumentAtIndex:1]; 30 | 31 | if ([level isEqualToString:@"LOG"]) { 32 | NSLog(@"%@", message); 33 | } else { 34 | NSLog(@"%@: %@", level, message); 35 | } 36 | } 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/src/ubuntu/console.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed under the Apache License, Version 2.0 (the "License"); 3 | * you may not use this file except in compliance with the License. 4 | * You may obtain a copy of the License at 5 | * 6 | * http://www.apache.org/licenses/LICENSE-2.0 7 | * 8 | * Unless required by applicable law or agreed to in writing, software 9 | * distributed under the License is distributed on an "AS IS" BASIS, 10 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | * See the License for the specific language governing permissions and 12 | * limitations under the License. 13 | */ 14 | 15 | #include "console.h" 16 | 17 | #include 18 | 19 | Console::Console(Cordova *cordova) : CPlugin(cordova) { 20 | } 21 | 22 | void Console::logLevel(int scId, int ecId, QString level, QString message) { 23 | Q_UNUSED(scId) 24 | Q_UNUSED(ecId) 25 | 26 | if (level != "LOG") 27 | std::cout << "[" << level.toStdString() << "] "; 28 | std::cout << message.toStdString() << std::endl; 29 | } 30 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/src/ubuntu/console.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed under the Apache License, Version 2.0 (the "License"); 3 | * you may not use this file except in compliance with the License. 4 | * You may obtain a copy of the License at 5 | * 6 | * http://www.apache.org/licenses/LICENSE-2.0 7 | * 8 | * Unless required by applicable law or agreed to in writing, software 9 | * distributed under the License is distributed on an "AS IS" BASIS, 10 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | * See the License for the specific language governing permissions and 12 | * limitations under the License. 13 | */ 14 | 15 | #ifndef CONSOLE_H_FDSVCXGFRS 16 | #define CONSOLE_H_FDSVCXGFRS 17 | 18 | #include 19 | 20 | #include 21 | 22 | class Console : public CPlugin { 23 | Q_OBJECT 24 | public: 25 | explicit Console(Cordova *cordova); 26 | 27 | virtual const QString fullName() override { 28 | return Console::fullID(); 29 | } 30 | 31 | virtual const QString shortName() override { 32 | return "Console"; 33 | } 34 | 35 | static const QString fullID() { 36 | return "Console"; 37 | } 38 | 39 | public slots: 40 | void logLevel(int scId, int ecId, QString level, QString message); 41 | }; 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/src/wp/DebugConsole.cs: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed under the Apache License, Version 2.0 (the "License"); 3 | you may not use this file except in compliance with the License. 4 | You may obtain a copy of the License at 5 | 6 | http://www.apache.org/licenses/LICENSE-2.0 7 | 8 | Unless required by applicable law or agreed to in writing, software 9 | distributed under the License is distributed on an "AS IS" BASIS, 10 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | See the License for the specific language governing permissions and 12 | limitations under the License. 13 | */ 14 | 15 | using System; 16 | using System.Net; 17 | using System.Windows; 18 | using System.Windows.Controls; 19 | using System.Windows.Documents; 20 | using System.Windows.Ink; 21 | using System.Windows.Input; 22 | using System.Windows.Media; 23 | using System.Windows.Media.Animation; 24 | using System.Windows.Shapes; 25 | using System.Diagnostics; 26 | 27 | namespace WPCordovaClassLib.Cordova.Commands 28 | { 29 | public class DebugConsole : BaseCommand 30 | { 31 | public void logLevel(string options) 32 | { 33 | string[] args = JSON.JsonHelper.Deserialize(options); 34 | string level = args[0]; 35 | string msg = args[1]; 36 | 37 | if (level.Equals("LOG")) 38 | { 39 | Debug.WriteLine(msg); 40 | } 41 | else 42 | { 43 | Debug.WriteLine(level + ": " + msg); 44 | } 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/tests/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 26 | Cordova Console Plugin Tests 27 | Apache 2.0 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-console/tests/tests.js: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Licensed to the Apache Software Foundation (ASF) under one 4 | * or more contributor license agreements. See the NOTICE file 5 | * distributed with this work for additional information 6 | * regarding copyright ownership. The ASF licenses this file 7 | * to you under the Apache License, Version 2.0 (the 8 | * "License"); you may not use this file except in compliance 9 | * with the License. You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, 14 | * software distributed under the License is distributed on an 15 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | * KIND, either express or implied. See the License for the 17 | * specific language governing permissions and limitations 18 | * under the License. 19 | * 20 | */ 21 | 22 | exports.defineAutoTests = function () { 23 | describe("Console", function () { 24 | it("console.spec.1 should exist", function() { 25 | expect(window.console).toBeDefined(); 26 | }); 27 | 28 | it("console.spec.2 has required methods log|warn|error", function(){ 29 | expect(window.console.log).toBeDefined(); 30 | expect(typeof window.console.log).toBe('function'); 31 | 32 | expect(window.console.warn).toBeDefined(); 33 | expect(typeof window.console.warn).toBe('function'); 34 | 35 | expect(window.console.error).toBeDefined(); 36 | expect(typeof window.console.error).toBe('function'); 37 | 38 | }); 39 | 40 | }); 41 | }; 42 | 43 | exports.defineManualTests = function (contentEl, createActionButton) {}; 44 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-device/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | 21 | 22 | # Contributing to Apache Cordova 23 | 24 | Anyone can contribute to Cordova. And we need your contributions. 25 | 26 | There are multiple ways to contribute: report bugs, improve the docs, and 27 | contribute code. 28 | 29 | For instructions on this, start with the 30 | [contribution overview](http://cordova.apache.org/contribute/). 31 | 32 | The details are explained there, but the important items are: 33 | - Sign and submit an Apache ICLA (Contributor License Agreement). 34 | - Have a Jira issue open that corresponds to your contribution. 35 | - Run the tests so your patch doesn't break existing functionality. 36 | 37 | We look forward to your contributions! 38 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-device/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Cordova 2 | Copyright 2012 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-device/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-device", 3 | "version": "1.1.1", 4 | "description": "Cordova Device Plugin", 5 | "cordova": { 6 | "id": "cordova-plugin-device", 7 | "platforms": [ 8 | "firefoxos", 9 | "tizen", 10 | "android", 11 | "amazon-fireos", 12 | "ubuntu", 13 | "ios", 14 | "blackberry10", 15 | "wp7", 16 | "wp8", 17 | "windows8", 18 | "windows", 19 | "browser", 20 | "osx" 21 | ] 22 | }, 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/apache/cordova-plugin-device" 26 | }, 27 | "keywords": [ 28 | "cordova", 29 | "device", 30 | "ecosystem:cordova", 31 | "cordova-firefoxos", 32 | "cordova-tizen", 33 | "cordova-android", 34 | "cordova-amazon-fireos", 35 | "cordova-ubuntu", 36 | "cordova-ios", 37 | "cordova-blackberry10", 38 | "cordova-wp7", 39 | "cordova-wp8", 40 | "cordova-windows8", 41 | "cordova-windows", 42 | "cordova-browser", 43 | "cordova-osx" 44 | ], 45 | "author": "Apache Software Foundation", 46 | "license": "Apache 2.0" 47 | } 48 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-device/src/ios/CDVDevice.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | #import 22 | 23 | @interface CDVDevice : CDVPlugin 24 | {} 25 | 26 | + (NSString*)cordovaVersion; 27 | 28 | - (void)getDeviceInfo:(CDVInvokedUrlCommand*)command; 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-device/src/osx/CDVDevice.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | 22 | @interface CDVDevice : CDVPlugin 23 | 24 | + (NSString*) cordovaVersion; 25 | 26 | - (void) getDeviceInfo:(CDVInvokedUrlCommand*)command; 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-device/src/tizen/DeviceProxy.js: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Licensed to the Apache Software Foundation (ASF) under one 4 | * or more contributor license agreements. See the NOTICE file 5 | * distributed with this work for additional information 6 | * regarding copyright ownership. The ASF licenses this file 7 | * to you under the Apache License, Version 2.0 (the 8 | * "License"); you may not use this file except in compliance 9 | * with the License. You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, 14 | * software distributed under the License is distributed on an 15 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | * KIND, either express or implied. See the License for the 17 | * specific language governing permissions and limitations 18 | * under the License. 19 | * 20 | */ 21 | 22 | var tizen = require('cordova/platform'); 23 | var cordova = require('cordova'); 24 | 25 | module.exports = { 26 | getDeviceInfo: function(success, error) { 27 | setTimeout(function () { 28 | success({ 29 | cordova: tizen.cordovaVersion, 30 | platform: 'tizen', 31 | model: null, 32 | version: null, 33 | uuid: null 34 | }); 35 | }, 0); 36 | } 37 | }; 38 | 39 | require("cordova/tizen/commandProxy").add("Device", module.exports); 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-device/src/ubuntu/device.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2011 Wolfgang Koller - http://www.gofg.at/ 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef DEVICE_H_FDSAFAS 18 | #define DEVICE_H_FDSAFAS 19 | 20 | #include 21 | 22 | #include 23 | 24 | class Device: public CPlugin { 25 | Q_OBJECT 26 | public: 27 | explicit Device(Cordova *cordova); 28 | 29 | virtual const QString fullName() override { 30 | return Device::fullID(); 31 | } 32 | 33 | virtual const QString shortName() override { 34 | return "Device"; 35 | } 36 | 37 | static const QString fullID() { 38 | return "com.cordova.Device"; 39 | } 40 | 41 | signals: 42 | 43 | public slots: 44 | void getInfo(int scId, int ecId); 45 | }; 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-device/src/ubuntu/device.js: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Licensed to the Apache Software Foundation (ASF) under one 4 | * or more contributor license agreements. See the NOTICE file 5 | * distributed with this work for additional information 6 | * regarding copyright ownership. The ASF licenses this file 7 | * to you under the Apache License, Version 2.0 (the 8 | * "License"); you may not use this file except in compliance 9 | * with the License. You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, 14 | * software distributed under the License is distributed on an 15 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | * KIND, either express or implied. See the License for the 17 | * specific language governing permissions and limitations 18 | * under the License. 19 | * 20 | */ 21 | 22 | var cordova = require('cordova'); 23 | var exec = require('cordova/exec'); 24 | 25 | module.exports = { 26 | getInfo:function(win,fail,args) { 27 | Cordova.exec(function (model, cordova, platform, uuid, version) { 28 | win({name: name, model: model, cordova: cordova, 29 | platform: platform, uuid: uuid, version: version}); 30 | }, null, "com.cordova.Device", "getInfo", []); 31 | } 32 | }; 33 | 34 | require("cordova/exec/proxy").add("Device", module.exports); 35 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-device/tests/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 26 | Cordova Device Plugin Tests 27 | Apache 2.0 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-dialogs/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | 21 | 22 | # Contributing to Apache Cordova 23 | 24 | Anyone can contribute to Cordova. And we need your contributions. 25 | 26 | There are multiple ways to contribute: report bugs, improve the docs, and 27 | contribute code. 28 | 29 | For instructions on this, start with the 30 | [contribution overview](http://cordova.apache.org/contribute/). 31 | 32 | The details are explained there, but the important items are: 33 | - Sign and submit an Apache ICLA (Contributor License Agreement). 34 | - Have a Jira issue open that corresponds to your contribution. 35 | - Run the tests so your patch doesn't break existing functionality. 36 | 37 | We look forward to your contributions! 38 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-dialogs/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Cordova 2 | Copyright 2012 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-dialogs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-dialogs", 3 | "version": "1.2.0", 4 | "description": "Cordova Notification Plugin", 5 | "cordova": { 6 | "id": "cordova-plugin-dialogs", 7 | "platforms": [ 8 | "firefoxos", 9 | "android", 10 | "browser", 11 | "amazon-fireos", 12 | "ubuntu", 13 | "ios", 14 | "blackberry10", 15 | "wp7", 16 | "wp8", 17 | "windows8", 18 | "windows" 19 | ] 20 | }, 21 | "repository": { 22 | "type": "git", 23 | "url": "https://github.com/apache/cordova-plugin-dialogs" 24 | }, 25 | "keywords": [ 26 | "cordova", 27 | "notification", 28 | "ecosystem:cordova", 29 | "cordova-firefoxos", 30 | "cordova-android", 31 | "cordova-browser", 32 | "cordova-amazon-fireos", 33 | "cordova-ubuntu", 34 | "cordova-ios", 35 | "cordova-blackberry10", 36 | "cordova-wp7", 37 | "cordova-wp8", 38 | "cordova-windows8", 39 | "cordova-windows" 40 | ], 41 | "author": "Apache Software Foundation", 42 | "license": "Apache 2.0" 43 | } 44 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-dialogs/src/ios/CDVNotification.bundle/beep.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/cordova-plugin-dialogs/src/ios/CDVNotification.bundle/beep.wav -------------------------------------------------------------------------------- /plugins/cordova-plugin-dialogs/src/ios/CDVNotification.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | #import 22 | #import 23 | #import 24 | 25 | @interface CDVNotification : CDVPlugin {} 26 | 27 | - (void)alert:(CDVInvokedUrlCommand*)command; 28 | - (void)confirm:(CDVInvokedUrlCommand*)command; 29 | - (void)prompt:(CDVInvokedUrlCommand*)command; 30 | - (void)beep:(CDVInvokedUrlCommand*)command; 31 | 32 | @end 33 | 34 | @interface CDVAlertView : UIAlertView {} 35 | @property (nonatomic, copy) NSString* callbackId; 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-dialogs/src/wp/NotificationBox.xaml.cs: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | using System; 21 | using System.Collections.Generic; 22 | using System.Linq; 23 | using System.Net; 24 | using System.Windows; 25 | using System.Windows.Controls; 26 | using System.Windows.Documents; 27 | using System.Windows.Input; 28 | using System.Windows.Media; 29 | using System.Windows.Media.Animation; 30 | using System.Windows.Shapes; 31 | 32 | namespace WPCordovaClassLib.Cordova.UI 33 | { 34 | public partial class NotificationBox : UserControl 35 | { 36 | public NotificationBox() 37 | { 38 | InitializeComponent(); 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-dialogs/src/wp/notification-beep.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/cordova-plugin-dialogs/src/wp/notification-beep.wav -------------------------------------------------------------------------------- /plugins/cordova-plugin-dialogs/tests/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | Cordova Notification Plugin Tests 25 | Apache 2.0 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-dialogs/www/blackberry10/beep.js: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Licensed to the Apache Software Foundation (ASF) under one 4 | * or more contributor license agreements. See the NOTICE file 5 | * distributed with this work for additional information 6 | * regarding copyright ownership. The ASF licenses this file 7 | * to you under the Apache License, Version 2.0 (the 8 | * "License"); you may not use this file except in compliance 9 | * with the License. You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, 14 | * software distributed under the License is distributed on an 15 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | * KIND, either express or implied. See the License for the 17 | * specific language governing permissions and limitations 18 | * under the License. 19 | * 20 | */ 21 | 22 | module.exports = function (quantity) { 23 | var count = 0, 24 | beepObj, 25 | play = function () { 26 | //create new object every time due to strage playback behaviour 27 | beepObj = new Audio('local:///chrome/plugin/cordova-plugin-dialogs/notification-beep.wav'); 28 | beepObj.addEventListener("ended", callback); 29 | beepObj.play(); 30 | }, 31 | callback = function () { 32 | if (--count > 0) { 33 | play(); 34 | } else { 35 | delete beepObj; 36 | } 37 | }; 38 | count += quantity || 1; 39 | if (count > 0) { 40 | play(); 41 | } 42 | }; 43 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-dialogs/www/blackberry10/notification-beep.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/cordova-plugin-dialogs/www/blackberry10/notification-beep.wav -------------------------------------------------------------------------------- /plugins/cordova-plugin-dialogs/www/firefoxos/danger-press.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/cordova-plugin-dialogs/www/firefoxos/danger-press.png -------------------------------------------------------------------------------- /plugins/cordova-plugin-dialogs/www/firefoxos/danger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/cordova-plugin-dialogs/www/firefoxos/danger.png -------------------------------------------------------------------------------- /plugins/cordova-plugin-dialogs/www/firefoxos/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/cordova-plugin-dialogs/www/firefoxos/default.png -------------------------------------------------------------------------------- /plugins/cordova-plugin-dialogs/www/firefoxos/gradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/cordova-plugin-dialogs/www/firefoxos/gradient.png -------------------------------------------------------------------------------- /plugins/cordova-plugin-dialogs/www/firefoxos/pattern.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/cordova-plugin-dialogs/www/firefoxos/pattern.png -------------------------------------------------------------------------------- /plugins/cordova-plugin-dialogs/www/firefoxos/recommend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/cordova-plugin-dialogs/www/firefoxos/recommend.png -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | 21 | 22 | # Contributing to Apache Cordova 23 | 24 | Anyone can contribute to Cordova. And we need your contributions. 25 | 26 | There are multiple ways to contribute: report bugs, improve the docs, and 27 | contribute code. 28 | 29 | For instructions on this, start with the 30 | [contribution overview](http://cordova.apache.org/contribute/). 31 | 32 | The details are explained there, but the important items are: 33 | - Sign and submit an Apache ICLA (Contributor License Agreement). 34 | - Have a Jira issue open that corresponds to your contribution. 35 | - Run the tests so your patch doesn't break existing functionality. 36 | 37 | We look forward to your contributions! 38 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Cordova 2 | Copyright 2012 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-splashscreen", 3 | "version": "3.2.1", 4 | "description": "Cordova Splashscreen Plugin", 5 | "cordova": { 6 | "id": "cordova-plugin-splashscreen", 7 | "platforms": [ 8 | "android", 9 | "amazon-fireos", 10 | "ubuntu", 11 | "ios", 12 | "blackberry10", 13 | "wp8", 14 | "windows8", 15 | "windows", 16 | "tizen" 17 | ] 18 | }, 19 | "repository": { 20 | "type": "git", 21 | "url": "https://github.com/apache/cordova-plugin-splashscreen" 22 | }, 23 | "keywords": [ 24 | "cordova", 25 | "splashscreen", 26 | "ecosystem:cordova", 27 | "cordova-android", 28 | "cordova-amazon-fireos", 29 | "cordova-ubuntu", 30 | "cordova-ios", 31 | "cordova-blackberry10", 32 | "cordova-wp8", 33 | "cordova-windows8", 34 | "cordova-windows", 35 | "cordova-tizen" 36 | ], 37 | "scripts": { 38 | "test": "npm run jshint", 39 | "jshint": "node node_modules/jshint/bin/jshint www && node node_modules/jshint/bin/jshint src && node node_modules/jshint/bin/jshint tests" 40 | }, 41 | "engines": [ 42 | { 43 | "name": "cordova-android", 44 | "version": ">=3.6.0" 45 | } 46 | ], 47 | "author": "Apache Software Foundation", 48 | "license": "Apache-2.0", 49 | "devDependencies": { 50 | "jshint": "^2.6.0" 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/src/blackberry10/index.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2013 Research In Motion Limited. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /* global PluginResult */ 18 | 19 | module.exports = { 20 | show: function (success, fail, args, env) { 21 | var result = new PluginResult(args, env); 22 | result.error("Not supported on platform", false); 23 | }, 24 | 25 | hide: function (success, fail, args, env) { 26 | var result = new PluginResult(args, env); 27 | window.qnx.webplatform.getApplication().windowVisible = true; 28 | result.ok(undefined, false); 29 | } 30 | }; 31 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/src/ios/CDVSplashScreen.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | #import 22 | 23 | typedef struct { 24 | BOOL iPhone; 25 | BOOL iPad; 26 | BOOL iPhone4; 27 | BOOL iPhone5; 28 | BOOL iPhone6; 29 | BOOL iPhone6Plus; 30 | BOOL retina; 31 | 32 | } CDV_iOSDevice; 33 | 34 | @interface CDVSplashScreen : CDVPlugin { 35 | UIActivityIndicatorView* _activityView; 36 | UIImageView* _imageView; 37 | NSString* _curImageName; 38 | BOOL _visible; 39 | } 40 | 41 | - (void)show:(CDVInvokedUrlCommand*)command; 42 | - (void)hide:(CDVInvokedUrlCommand*)command; 43 | 44 | @end 45 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/src/ios/CDVViewController+SplashScreen.h: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed to the Apache Software Foundation (ASF) under one 3 | or more contributor license agreements. See the NOTICE file 4 | distributed with this work for additional information 5 | regarding copyright ownership. The ASF licenses this file 6 | to you under the Apache License, Version 2.0 (the 7 | "License"); you may not use this file except in compliance 8 | with the License. You may obtain a copy of the License at 9 | 10 | http://www.apache.org/licenses/LICENSE-2.0 11 | 12 | Unless required by applicable law or agreed to in writing, 13 | software distributed under the License is distributed on an 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | KIND, either express or implied. See the License for the 16 | specific language governing permissions and limitations 17 | under the License. 18 | */ 19 | 20 | #import 21 | 22 | @interface CDVViewController (SplashScreen) 23 | 24 | @property (nonatomic, assign) BOOL enabledAutorotation; 25 | @property (nonatomic, readonly) BOOL shouldAutorotateDefaultValue; 26 | 27 | 28 | @end 29 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/src/tizen/SplashScreenProxy.js: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Licensed to the Apache Software Foundation (ASF) under one 4 | * or more contributor license agreements. See the NOTICE file 5 | * distributed with this work for additional information 6 | * regarding copyright ownership. The ASF licenses this file 7 | * to you under the Apache License, Version 2.0 (the 8 | * "License"); you may not use this file except in compliance 9 | * with the License. You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, 14 | * software distributed under the License is distributed on an 15 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | * KIND, either express or implied. See the License for the 17 | * specific language governing permissions and limitations 18 | * under the License. 19 | * 20 | */ 21 | 22 | ( function() { 23 | 24 | var win = null; 25 | 26 | module.exports = { 27 | show: function() { 28 | if ( win === null ) { 29 | win = window.open('splashscreen.html'); 30 | } 31 | }, 32 | 33 | hide: function() { 34 | if ( win !== null ) { 35 | win.close(); 36 | win = null; 37 | } 38 | } 39 | }; 40 | 41 | require("cordova/tizen/commandProxy").add("SplashScreen", module.exports); 42 | 43 | })(); 44 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/src/ubuntu/splashscreen.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright 2013 Canonical Ltd. 4 | * 5 | * Licensed to the Apache Software Foundation (ASF) under one 6 | * or more contributor license agreements. See the NOTICE file 7 | * distributed with this work for additional information 8 | * regarding copyright ownership. The ASF licenses this file 9 | * to you under the Apache License, Version 2.0 (the 10 | * "License"); you may not use this file except in compliance 11 | * with the License. You may obtain a copy of the License at 12 | * 13 | * http://www.apache.org/licenses/LICENSE-2.0 14 | * 15 | * Unless required by applicable law or agreed to in writing, 16 | * software distributed under the License is distributed on an 17 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18 | * KIND, either express or implied. See the License for the 19 | * specific language governing permissions and limitations 20 | * under the License. 21 | * 22 | */ 23 | 24 | #include 25 | 26 | #include "splashscreen.h" 27 | #include 28 | 29 | #define SPLASHSCREEN_STATE_NAME "splashscreen" 30 | 31 | Splashscreen::Splashscreen(Cordova *cordova): CPlugin(cordova) { 32 | } 33 | 34 | void Splashscreen::show(int, int) { 35 | m_cordova->rootObject()->setProperty("splashscreenPath", m_cordova->getSplashscreenPath()); 36 | 37 | m_cordova->pushViewState(SPLASHSCREEN_STATE_NAME); 38 | } 39 | 40 | void Splashscreen::hide(int, int) { 41 | m_cordova->popViewState(SPLASHSCREEN_STATE_NAME); 42 | } 43 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/src/ubuntu/splashscreen.h: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Copyright 2013 Canonical Ltd. 4 | * 5 | * Licensed to the Apache Software Foundation (ASF) under one 6 | * or more contributor license agreements. See the NOTICE file 7 | * distributed with this work for additional information 8 | * regarding copyright ownership. The ASF licenses this file 9 | * to you under the Apache License, Version 2.0 (the 10 | * "License"); you may not use this file except in compliance 11 | * with the License. You may obtain a copy of the License at 12 | * 13 | * http://www.apache.org/licenses/LICENSE-2.0 14 | * 15 | * Unless required by applicable law or agreed to in writing, 16 | * software distributed under the License is distributed on an 17 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18 | * KIND, either express or implied. See the License for the 19 | * specific language governing permissions and limitations 20 | * under the License. 21 | * 22 | */ 23 | 24 | #ifndef SPLASHSCREEN_H 25 | #define SPLASHSCREEN_H 26 | 27 | #include 28 | #include 29 | 30 | class Splashscreen: public CPlugin { 31 | Q_OBJECT 32 | public: 33 | explicit Splashscreen(Cordova *cordova); 34 | 35 | virtual const QString fullName() override { 36 | return Splashscreen::fullID(); 37 | } 38 | 39 | virtual const QString shortName() override { 40 | return "SplashScreen"; 41 | } 42 | 43 | static const QString fullID() { 44 | return "SplashScreen"; 45 | } 46 | 47 | public slots: 48 | void show(int, int); 49 | void hide(int, int); 50 | }; 51 | 52 | #endif // SPLASHSCREEN_H 53 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/src/wp/ResolutionHelper.cs: -------------------------------------------------------------------------------- 1 | /* 2 | Licensed under the Apache License, Version 2.0 (the "License"); 3 | you may not use this file except in compliance with the License. 4 | You may obtain a copy of the License at 5 | 6 | http://www.apache.org/licenses/LICENSE-2.0 7 | 8 | Unless required by applicable law or agreed to in writing, software 9 | distributed under the License is distributed on an "AS IS" BASIS, 10 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 | See the License for the specific language governing permissions and 12 | limitations under the License. 13 | */ 14 | 15 | using Microsoft.Phone.Info; 16 | using System; 17 | using System.Windows; 18 | 19 | namespace WPCordovaClassLib.Cordova.Commands 20 | { 21 | public enum Resolutions { WVGA, WXGA, HD }; 22 | 23 | public static class ResolutionHelper 24 | { 25 | public static Resolutions CurrentResolution 26 | { 27 | get 28 | { 29 | switch (Application.Current.Host.Content.ScaleFactor) 30 | { 31 | case 100: return Resolutions.WVGA; 32 | case 160: return Resolutions.WXGA; 33 | case 150: return Resolutions.HD; 34 | } 35 | throw new InvalidOperationException("Unknown resolution"); 36 | } 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/CDVSplashScreenTest.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/CDVSplashScreenTest/.npmignore: -------------------------------------------------------------------------------- 1 | build -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/CDVSplashScreenTest/CDVSplashScreenLibTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 23 | 24 | 25 | CFBundleDevelopmentRegion 26 | en 27 | CFBundleExecutable 28 | $(EXECUTABLE_NAME) 29 | CFBundleIdentifier 30 | org.apache.cordova.$(PRODUCT_NAME:rfc1034identifier) 31 | CFBundleInfoDictionaryVersion 32 | 6.0 33 | CFBundleName 34 | $(PRODUCT_NAME) 35 | CFBundlePackageType 36 | BNDL 37 | CFBundleShortVersionString 38 | 1.0 39 | CFBundleSignature 40 | ???? 41 | CFBundleVersion 42 | 1 43 | 44 | 45 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/CDVSplashScreenTest/CDVSplashScreenTest.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # iOS Tests for CDVSplashScreen 21 | 22 | You need to install `node.js` to pull in `cordova-ios`. 23 | 24 | First install cordova-ios: 25 | 26 | npm install 27 | 28 | ... in the current folder. 29 | 30 | 31 | # Testing from Xcode 32 | 33 | 1. Launch the `CDVSplashScreenTest.xcworkspace` file. 34 | 2. Choose "CDVSplashScreenLibTests" from the scheme drop-down menu 35 | 3. Click and hold on the `Play` button, and choose the `Wrench` icon to run the tests 36 | 37 | 38 | # Testing from the command line 39 | 40 | npm test 41 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/doc/de/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # iOS-Tests für CDVSplashScreen 21 | 22 | Sie müssen installieren `node.js` in `Cordova-Ios` zu ziehen. 23 | 24 | Installieren Sie Cordova-Ios zum ersten Mal: 25 | 26 | npm install 27 | 28 | 29 | ... im aktuellen Ordner. 30 | 31 | # Testen von Xcode 32 | 33 | 1. Starten Sie die Datei `CDVSplashScreenTest.xcworkspace` . 34 | 2. Wählen Sie im Dropdown-Schema "CDVSplashScreenLibTests" 35 | 3. Klicken Sie und halten Sie auf den `Play` -Button und wählen Sie das `Schraubenschlüssel` -Symbol zum Ausführen der tests 36 | 37 | # Tests von der Befehlszeile aus 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/doc/es/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # Pruebas de iOS para CDVSplashScreen 21 | 22 | Necesita instalar `node.js` en `Córdoba-ios`. 23 | 24 | Primero instalar cordova-ios: 25 | 26 | npm install 27 | 28 | 29 | ... en la carpeta actual. 30 | 31 | # Prueba de Xcode 32 | 33 | 1. Iniciar el archivo `CDVSplashScreenTest.xcworkspace` . 34 | 2. Elija "CDVSplashScreenLibTests" en el menú de lista desplegable esquema 35 | 3. Haga clic y mantenga el botón de `Play` y elegir el icono de `llave inglesa` para ejecutar las pruebas 36 | 37 | # Pruebas desde la línea de comandos 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/doc/fr/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # Tests d'iOS pour CDVSplashScreen 21 | 22 | Vous devez installer `node.js` à `cordova-ios`. 23 | 24 | Commencez par installer cordova-ios : 25 | 26 | npm install 27 | 28 | 29 | ... dans le dossier actuel. 30 | 31 | # Tests de Xcode 32 | 33 | 1. Lancez le fichier `CDVSplashScreenTest.xcworkspace` . 34 | 2. Choisissez « CDVSplashScreenLibTests » dans le menu déroulant de régime 35 | 3. Cliquez et maintenez sur la touche `Play` et cliquez sur l'icône de `clé` pour exécuter les tests 36 | 37 | # Test de la ligne de commande 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/doc/it/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # Test di iOS per CDVSplashScreen 21 | 22 | È necessario installare `node. js` per tirare in `cordova-ios`. 23 | 24 | In primo luogo installare cordova-ios: 25 | 26 | npm install 27 | 28 | 29 | ... nella cartella corrente. 30 | 31 | # Test da Xcode 32 | 33 | 1. Lanciare il file `CDVSplashScreenTest.xcworkspace` . 34 | 2. Scegli "CDVSplashScreenLibTests" dal menu a discesa Schema 35 | 3. Fare clic e tenere premuto il pulsante `Play` e scegliere l'icona della `chiave inglese` per eseguire i test 36 | 37 | # Test dalla riga di comando 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/doc/ja/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # CDVSplashScreen の iOS のテスト 21 | 22 | `Node.js` `コルドバ`ios をプルするをインストールする必要があります。. 23 | 24 | コルドバ ios をインストールします。 25 | 26 | npm install 27 | 28 | 29 | 現在のフォルダーに. 30 | 31 | # Xcode からテスト 32 | 33 | 1. `CDVSplashScreenTest.xcworkspace`ファイルを起動します。 34 | 2. スキーム] ドロップダウン メニューから"CDVSplashScreenLibTests"を選択します。 35 | 3. クリックし、`再生`ボタンを押し、テストを実行する`レンチ`のアイコンを選択 36 | 37 | # コマンドラインからテスト 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/doc/ko/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # CDVSplashScreen에 대 한 iOS 테스트 21 | 22 | `Node.js` `코르도바` ios에서를 설치 해야. 23 | 24 | 코르도바-ios를 설치 하는 첫번째는: 25 | 26 | npm install 27 | 28 | 29 | 현재 폴더에.... 30 | 31 | # Xcode에서 테스트 32 | 33 | 1. `CDVSplashScreenTest.xcworkspace` 파일을 시작 합니다. 34 | 2. 구성표 드롭 다운 메뉴에서 "CDVSplashScreenLibTests"를 선택 35 | 3. 클릭 하 고 `재생` 버튼에는 테스트를 실행 하려면 `공구 모양` 아이콘을 선택 36 | 37 | # 명령줄에서 테스트 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/doc/pl/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # iOS testy dla CDVSplashScreen 21 | 22 | Musisz zainstalować `node.js` ciągnąć w `cordova-ios`. 23 | 24 | Najpierw zainstalować cordova-ios: 25 | 26 | npm install 27 | 28 | 29 | ... w folderze bieżącym. 30 | 31 | # Badania z Xcode 32 | 33 | 1. Uruchom plik `CDVSplashScreenTest.xcworkspace` . 34 | 2. Wybierz z menu rozwijanego systemu "CDVSplashScreenLibTests" 35 | 3. Kliknij i przytrzymaj przycisk `Play` i wybrać ikonę `klucz` do testów 36 | 37 | # Badania z wiersza polecenia 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/doc/zh/README.md: -------------------------------------------------------------------------------- 1 | 19 | 20 | # CDVSplashScreen 的 iOS 測試 21 | 22 | 您需要安裝`node.js`拉`科爾多瓦 ios`中. 23 | 24 | 第一次安裝科爾多瓦 ios: 25 | 26 | npm install 27 | 28 | 29 | 在當前資料夾中。 30 | 31 | # 從 Xcode 測試 32 | 33 | 1. 啟動`CDVSplashScreenTest.xcworkspace`檔。 34 | 2. 從方案下拉式功能表中選擇"CDVSplashScreenLibTests" 35 | 3. 按一下並堅持`播放`按鈕,然後選擇要運行的測試的`扳手`圖示 36 | 37 | # 從命令列測試 38 | 39 | npm test 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/ios/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-splashscreen-test-ios", 3 | "version": "1.0.0", 4 | "description": "iOS Unit Tests for Splashscreen Plugin", 5 | "author": "Apache Software Foundation", 6 | "license": "Apache Version 2.0", 7 | "dependencies": { 8 | "cordova-ios": "^3.6.0" 9 | }, 10 | "scripts": { 11 | "test": "xcodebuild test -workspace CDVSplashScreenTest.xcworkspace -scheme CDVSplashScreenLibTests -destination 'platform=iOS Simulator,name=iPhone 5' CONFIGURATION_BUILD_DIR='/tmp'" 12 | } 13 | } -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/tests/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 24 | Cordova Splashscreen Plugin Tests 25 | Apache 2.0 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-splashscreen/www/splashscreen.js: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Licensed to the Apache Software Foundation (ASF) under one 4 | * or more contributor license agreements. See the NOTICE file 5 | * distributed with this work for additional information 6 | * regarding copyright ownership. The ASF licenses this file 7 | * to you under the Apache License, Version 2.0 (the 8 | * "License"); you may not use this file except in compliance 9 | * with the License. You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, 14 | * software distributed under the License is distributed on an 15 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | * KIND, either express or implied. See the License for the 17 | * specific language governing permissions and limitations 18 | * under the License. 19 | * 20 | */ 21 | 22 | var exec = require('cordova/exec'); 23 | 24 | var splashscreen = { 25 | show:function() { 26 | exec(null, null, "SplashScreen", "show", []); 27 | }, 28 | hide:function() { 29 | exec(null, null, "SplashScreen", "hide", []); 30 | } 31 | }; 32 | 33 | module.exports = splashscreen; 34 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-statusbar/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | 21 | 22 | # Contributing to Apache Cordova 23 | 24 | Anyone can contribute to Cordova. And we need your contributions. 25 | 26 | There are multiple ways to contribute: report bugs, improve the docs, and 27 | contribute code. 28 | 29 | For instructions on this, start with the 30 | [contribution overview](http://cordova.apache.org/contribute/). 31 | 32 | The details are explained there, but the important items are: 33 | - Sign and submit an Apache ICLA (Contributor License Agreement). 34 | - Have a Jira issue open that corresponds to your contribution. 35 | - Run the tests so your patch doesn't break existing functionality. 36 | 37 | We look forward to your contributions! 38 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-statusbar/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Cordova 2 | Copyright 2012 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-statusbar/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-statusbar", 3 | "version": "2.1.2", 4 | "description": "Cordova StatusBar Plugin", 5 | "cordova": { 6 | "id": "cordova-plugin-statusbar", 7 | "platforms": [ 8 | "android", 9 | "ios", 10 | "wp7", 11 | "wp8", 12 | "windows" 13 | ] 14 | }, 15 | "repository": { 16 | "type": "git", 17 | "url": "https://github.com/apache/cordova-plugin-statusbar" 18 | }, 19 | "keywords": [ 20 | "cordova", 21 | "statusbar", 22 | "ecosystem:cordova", 23 | "cordova-android", 24 | "cordova-ios", 25 | "cordova-wp7", 26 | "cordova-wp8", 27 | "cordova-windows" 28 | ], 29 | "scripts": { 30 | "test": "npm run jshint", 31 | "jshint": "node node_modules/jshint/bin/jshint www && node node_modules/jshint/bin/jshint src && node node_modules/jshint/bin/jshint tests" 32 | }, 33 | "engines": [ 34 | { 35 | "name": "cordova", 36 | "version": ">=3.0.0" 37 | } 38 | ], 39 | "author": "Apache Software Foundation", 40 | "license": "Apache 2.0", 41 | "devDependencies": { 42 | "jshint": "^2.6.0" 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-statusbar/src/browser/statusbar.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | * 19 | */ 20 | 21 | function notSupported() { 22 | console.log('StatusBar is not supported'); 23 | return false; 24 | } 25 | 26 | module.exports = { 27 | isVisible: false, 28 | styleBlackTranslucent:notSupported, 29 | styleDefault:notSupported, 30 | styleLightContent:notSupported, 31 | styleBlackOpaque:notSupported, 32 | overlaysWebView:notSupported, 33 | styleLightContect: notSupported, 34 | backgroundColorByName: notSupported, 35 | backgroundColorByHexString: notSupported, 36 | hide: notSupported, 37 | show: notSupported 38 | }; 39 | 40 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-statusbar/tests/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 26 | Cordova StatusBar Plugin Tests 27 | Apache 2.0 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-whitelist/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | 21 | 22 | # Contributing to Apache Cordova 23 | 24 | Anyone can contribute to Cordova. And we need your contributions. 25 | 26 | There are multiple ways to contribute: report bugs, improve the docs, and 27 | contribute code. 28 | 29 | For instructions on this, start with the 30 | [contribution overview](http://cordova.apache.org/contribute/). 31 | 32 | The details are explained there, but the important items are: 33 | - Sign and submit an Apache ICLA (Contributor License Agreement). 34 | - Have a Jira issue open that corresponds to your contribution. 35 | - Run the tests so your patch doesn't break existing functionality. 36 | 37 | We look forward to your contributions! 38 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-whitelist/NOTICE: -------------------------------------------------------------------------------- 1 | Apache Cordova 2 | Copyright 2012 The Apache Software Foundation 3 | 4 | This product includes software developed at 5 | The Apache Software Foundation (http://www.apache.org/). 6 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-whitelist/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "cordova-plugin-whitelist", 3 | "version": "1.2.1", 4 | "description": "Cordova Whitelist Plugin", 5 | "cordova": { 6 | "platforms": [ 7 | "android" 8 | ] 9 | }, 10 | "repository": { 11 | "type": "git", 12 | "url": "https://github.com/apache/cordova-plugin-whitelist" 13 | }, 14 | "keywords": [ 15 | "cordova", 16 | "whitelist", 17 | "ecosystem:cordova", 18 | "cordova-android" 19 | ], 20 | "engines": [ 21 | { 22 | "name": "cordova-android", 23 | "version": ">=4.0.0" 24 | } 25 | ], 26 | "author": "Apache Software Foundation", 27 | "license": "Apache 2.0" 28 | } 29 | -------------------------------------------------------------------------------- /plugins/cordova-plugin-whitelist/whitelist.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | * 19 | */ 20 | 21 | if (!document.querySelector('meta[http-equiv=Content-Security-Policy]')) { 22 | var msg = 'No Content-Security-Policy meta tag found. Please add one when using the cordova-plugin-whitelist plugin.'; 23 | console.error(msg); 24 | setInterval(function() { 25 | console.warn(msg); 26 | }, 10000); 27 | } 28 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ionic-plugin-keyboard", 3 | "version": "2.0.1", 4 | "cordova": { 5 | "id": "ionic-plugin-keyboard", 6 | "platforms": [ 7 | "android", 8 | "ios", 9 | "blackberry10", 10 | "wp8", 11 | "windows" 12 | ] 13 | }, 14 | "description": "Ionic Keyboard Plugin", 15 | "repository": "https://github.com/driftyco/ionic-plugin-keyboard.git", 16 | "issue": "https://github.com/driftyco/ionic-plugin-keyboard/issues", 17 | "keywords": [ 18 | "ionic", 19 | "cordova", 20 | "keyboard", 21 | "ecosystem:cordova", 22 | "cordova-android", 23 | "cordova-ios", 24 | "cordova-blackberry10", 25 | "cordova-wp8", 26 | "cordova-windows" 27 | ], 28 | "author": "Ionic", 29 | "license": "Apache 2.0" 30 | } 31 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/device/libKeyboard.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/ionic-plugin-keyboard/src/blackberry10/native/device/libKeyboard.so -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/device/public/json_reader.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/ionic-plugin-keyboard/src/blackberry10/native/device/public/json_reader.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/device/public/json_value.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/ionic-plugin-keyboard/src/blackberry10/native/device/public/json_value.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/device/public/json_writer.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/ionic-plugin-keyboard/src/blackberry10/native/device/public/json_writer.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/device/public/plugin.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/ionic-plugin-keyboard/src/blackberry10/native/device/public/plugin.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/device/public/tokenizer.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/ionic-plugin-keyboard/src/blackberry10/native/device/public/tokenizer.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/device/src/CallKeyboard.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/ionic-plugin-keyboard/src/blackberry10/native/device/src/CallKeyboard.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/device/src/Logger.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/ionic-plugin-keyboard/src/blackberry10/native/device/src/Logger.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/device/src/keyboard_js.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/ionic-plugin-keyboard/src/blackberry10/native/device/src/keyboard_js.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/device/src/keyboard_ndk.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/ionic-plugin-keyboard/src/blackberry10/native/device/src/keyboard_ndk.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/public/json/autolink.h: -------------------------------------------------------------------------------- 1 | #ifndef JSON_AUTOLINK_H_INCLUDED 2 | # define JSON_AUTOLINK_H_INCLUDED 3 | 4 | # include "config.h" 5 | 6 | # ifdef JSON_IN_CPPTL 7 | # include 8 | # endif 9 | 10 | # if !defined(JSON_NO_AUTOLINK) && !defined(JSON_DLL_BUILD) && !defined(JSON_IN_CPPTL) 11 | # define CPPTL_AUTOLINK_NAME "json" 12 | # undef CPPTL_AUTOLINK_DLL 13 | # ifdef JSON_DLL 14 | # define CPPTL_AUTOLINK_DLL 15 | # endif 16 | # include "autolink.h" 17 | # endif 18 | 19 | #endif // JSON_AUTOLINK_H_INCLUDED 20 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/public/json/config.h: -------------------------------------------------------------------------------- 1 | #ifndef JSON_CONFIG_H_INCLUDED 2 | # define JSON_CONFIG_H_INCLUDED 3 | 4 | /// If defined, indicates that json library is embedded in CppTL library. 5 | //# define JSON_IN_CPPTL 1 6 | 7 | /// If defined, indicates that json may leverage CppTL library 8 | //# define JSON_USE_CPPTL 1 9 | /// If defined, indicates that cpptl vector based map should be used instead of std::map 10 | /// as Value container. 11 | //# define JSON_USE_CPPTL_SMALLMAP 1 12 | /// If defined, indicates that Json specific container should be used 13 | /// (hash table & simple deque container with customizable allocator). 14 | /// THIS FEATURE IS STILL EXPERIMENTAL! 15 | //# define JSON_VALUE_USE_INTERNAL_MAP 1 16 | /// Force usage of standard new/malloc based allocator instead of memory pool based allocator. 17 | /// The memory pools allocator used optimization (initializing Value and ValueInternalLink 18 | /// as if it was a POD) that may cause some validation tool to report errors. 19 | /// Only has effects if JSON_VALUE_USE_INTERNAL_MAP is defined. 20 | //# define JSON_USE_SIMPLE_INTERNAL_ALLOCATOR 1 21 | 22 | /// If defined, indicates that Json use exception to report invalid type manipulation 23 | /// instead of C assert macro. 24 | # define JSON_USE_EXCEPTION 1 25 | 26 | # ifdef JSON_IN_CPPTL 27 | # include 28 | # ifndef JSON_USE_CPPTL 29 | # define JSON_USE_CPPTL 1 30 | # endif 31 | # endif 32 | 33 | # ifdef JSON_IN_CPPTL 34 | # define JSON_API CPPTL_API 35 | # elif defined(JSON_DLL_BUILD) 36 | # define JSON_API __declspec(dllexport) 37 | # elif defined(JSON_DLL) 38 | # define JSON_API __declspec(dllimport) 39 | # else 40 | # define JSON_API 41 | # endif 42 | 43 | #endif // JSON_CONFIG_H_INCLUDED 44 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/public/json/features.h: -------------------------------------------------------------------------------- 1 | #ifndef CPPTL_JSON_FEATURES_H_INCLUDED 2 | # define CPPTL_JSON_FEATURES_H_INCLUDED 3 | 4 | # include "forwards.h" 5 | 6 | namespace Json { 7 | 8 | /** \brief Configuration passed to reader and writer. 9 | * This configuration object can be used to force the Reader or Writer 10 | * to behave in a standard conforming way. 11 | */ 12 | class JSON_API Features 13 | { 14 | public: 15 | /** \brief A configuration that allows all features and assumes all strings are UTF-8. 16 | * - C & C++ comments are allowed 17 | * - Root object can be any JSON value 18 | * - Assumes Value strings are encoded in UTF-8 19 | */ 20 | static Features all(); 21 | 22 | /** \brief A configuration that is strictly compatible with the JSON specification. 23 | * - Comments are forbidden. 24 | * - Root object must be either an array or an object value. 25 | * - Assumes Value strings are encoded in UTF-8 26 | */ 27 | static Features strictMode(); 28 | 29 | /** \brief Initialize the configuration like JsonConfig::allFeatures; 30 | */ 31 | Features(); 32 | 33 | /// \c true if comments are allowed. Default: \c true. 34 | bool allowComments_; 35 | 36 | /// \c true if root must be either an array or an object value. Default: \c false. 37 | bool strictRoot_; 38 | }; 39 | 40 | } // namespace Json 41 | 42 | #endif // CPPTL_JSON_FEATURES_H_INCLUDED 43 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/public/json/forwards.h: -------------------------------------------------------------------------------- 1 | #ifndef JSON_FORWARDS_H_INCLUDED 2 | # define JSON_FORWARDS_H_INCLUDED 3 | 4 | # include "config.h" 5 | 6 | namespace Json { 7 | 8 | // writer.h 9 | class FastWriter; 10 | class StyledWriter; 11 | 12 | // reader.h 13 | class Reader; 14 | 15 | // features.h 16 | class Features; 17 | 18 | // value.h 19 | typedef int Int; 20 | typedef unsigned int UInt; 21 | class StaticString; 22 | class Path; 23 | class PathArgument; 24 | class Value; 25 | class ValueIteratorBase; 26 | class ValueIterator; 27 | class ValueConstIterator; 28 | #ifdef JSON_VALUE_USE_INTERNAL_MAP 29 | class ValueAllocator; 30 | class ValueMapAllocator; 31 | class ValueInternalLink; 32 | class ValueInternalArray; 33 | class ValueInternalMap; 34 | #endif // #ifdef JSON_VALUE_USE_INTERNAL_MAP 35 | 36 | } // namespace Json 37 | 38 | 39 | #endif // JSON_FORWARDS_H_INCLUDED 40 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/public/json/json.h: -------------------------------------------------------------------------------- 1 | #ifndef JSON_JSON_H_INCLUDED 2 | # define JSON_JSON_H_INCLUDED 3 | 4 | # include "autolink.h" 5 | # include "value.h" 6 | # include "reader.h" 7 | # include "writer.h" 8 | # include "features.h" 9 | 10 | #endif // JSON_JSON_H_INCLUDED 11 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/public/tokenizer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/ionic-plugin-keyboard/src/blackberry10/native/public/tokenizer.cpp -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/public/tokenizer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/ionic-plugin-keyboard/src/blackberry10/native/public/tokenizer.h -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/libKeyboard.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/libKeyboard.so -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/public/json_reader.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/public/json_reader.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/public/json_value.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/public/json_value.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/public/json_writer.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/public/json_writer.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/public/plugin.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/public/plugin.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/public/tokenizer.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/public/tokenizer.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/src/CallKeyboard.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/src/CallKeyboard.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/src/Logger.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/src/Logger.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/src/keyboard_js.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/src/keyboard_js.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/src/keyboard_ndk.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/plugins/ionic-plugin-keyboard/src/blackberry10/native/simulator/src/keyboard_ndk.o -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/src/Logger.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013 BlackBerry Limited 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef LOGGER_HPP_ 18 | #define LOGGER_HPP_ 19 | 20 | #include 21 | #include 22 | 23 | class Keyboard_JS; 24 | 25 | namespace webworks { 26 | 27 | class Logger { 28 | public: 29 | explicit Logger(const char* name, Keyboard_JS *parent = NULL); 30 | virtual ~Logger(); 31 | int debug(const char* message); 32 | int info(const char* message); 33 | int notice(const char* message); 34 | int warn(const char* message); 35 | int error(const char* message); 36 | int critical(const char* message); 37 | int setVerbosity(_Uint8t verbosity); 38 | _Uint8t getVerbosity(); 39 | slog2_buffer_t hiPriorityBuffer(); 40 | slog2_buffer_t lowPriorityBuffer(); 41 | private: 42 | Keyboard_JS *m_pParent; 43 | slog2_buffer_set_config_t buffer_config; 44 | slog2_buffer_t buffer_handle[2]; 45 | int log(slog2_buffer_t buffer, _Uint8t severity, const char* message); 46 | }; 47 | 48 | } /* namespace webworks */ 49 | #endif /* LOGGER_HPP_ */ 50 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/blackberry10/native/src/keyboard_js.hpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013 BlackBerry Limited 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #ifndef Keyboard_JS_HPP_ 18 | #define Keyboard_JS_HPP_ 19 | 20 | #include 21 | #include "../public/plugin.h" 22 | #include "keyboard_ndk.hpp" 23 | #include "Logger.hpp" 24 | 25 | 26 | class Keyboard_JS: public JSExt { 27 | 28 | public: 29 | explicit Keyboard_JS(const std::string& id); 30 | virtual ~Keyboard_JS(); 31 | virtual bool CanDelete(); 32 | virtual std::string InvokeMethod(const std::string& command); 33 | void NotifyEvent(const std::string& event); 34 | webworks::Logger* getLog(); 35 | private: 36 | std::string m_id; 37 | webworks::Keyboard_NDK *m_pKeyboardController; 38 | webworks::Logger *m_pLogger; 39 | 40 | }; 41 | 42 | #endif /* Keyboard_JS_HPP_ */ 43 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/ios/IonicKeyboard.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @interface IonicKeyboard : CDVPlugin { 4 | @protected 5 | id _keyboardShowObserver, _keyboardHideObserver; 6 | } 7 | 8 | // @property (readwrite, assign) BOOL hideKeyboardAccessoryBar; 9 | @property (readwrite, assign) BOOL disableScroll; 10 | //@property (readwrite, assign) BOOL styleDark; 11 | 12 | @end 13 | 14 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/ios/UIWebViewExtension.h: -------------------------------------------------------------------------------- 1 | // @interface UIWebView (HackishAccessoryHiding) 2 | // @property (nonatomic, assign) BOOL hackishlyHidesInputAccessoryView; 3 | // //@property (nonatomic, assign) BOOL styleDark; 4 | // @end 5 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/src/windows/KeyboardProxy.js: -------------------------------------------------------------------------------- 1 | 2 | /*global Windows, WinJS, cordova, module, require*/ 3 | 4 | var inputPane = Windows.UI.ViewManagement.InputPane.getForCurrentView(); 5 | var keyboardScrollDisabled = false; 6 | 7 | inputPane.addEventListener('hiding', function() { 8 | cordova.fireWindowEvent('native.keyboardhide'); 9 | cordova.plugins.Keyboard.isVisible = false; 10 | }); 11 | 12 | inputPane.addEventListener('showing', function(e) { 13 | if (keyboardScrollDisabled) { 14 | // this disables automatic scrolling of view contents to show focused control 15 | e.ensuredFocusedElementInView = true; 16 | } 17 | cordova.fireWindowEvent('native.keyboardshow', { keyboardHeight: e.occludedRect.height }); 18 | cordova.plugins.Keyboard.isVisible = true; 19 | }); 20 | 21 | module.exports.disableScroll = function (disable) { 22 | keyboardScrollDisabled = disable; 23 | }; 24 | 25 | module.exports.show = function () { 26 | if (typeof inputPane.tryShow === 'function') { 27 | inputPane.tryShow(); 28 | } 29 | }; 30 | 31 | module.exports.close = function () { 32 | if (typeof inputPane.tryShow === 'function') { 33 | inputPane.tryHide(); 34 | } 35 | }; 36 | 37 | require("cordova/exec/proxy").add("Keyboard", module.exports); 38 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/www/android/keyboard.js: -------------------------------------------------------------------------------- 1 | 2 | var argscheck = require('cordova/argscheck'), 3 | utils = require('cordova/utils'), 4 | exec = require('cordova/exec'), 5 | channel = require('cordova/channel'); 6 | 7 | 8 | var Keyboard = function() { 9 | }; 10 | 11 | Keyboard.hideKeyboardAccessoryBar = function(hide) { 12 | exec(null, null, "Keyboard", "hideKeyboardAccessoryBar", [hide]); 13 | }; 14 | 15 | Keyboard.close = function() { 16 | exec(null, null, "Keyboard", "close", []); 17 | }; 18 | 19 | Keyboard.show = function() { 20 | exec(null, null, "Keyboard", "show", []); 21 | }; 22 | 23 | Keyboard.disableScroll = function(disable) { 24 | exec(null, null, "Keyboard", "disableScroll", [disable]); 25 | }; 26 | 27 | /* 28 | Keyboard.styleDark = function(dark) { 29 | exec(null, null, "Keyboard", "styleDark", [dark]); 30 | }; 31 | */ 32 | 33 | Keyboard.isVisible = false; 34 | 35 | channel.onCordovaReady.subscribe(function() { 36 | exec(success, null, 'Keyboard', 'init', []); 37 | 38 | function success(msg) { 39 | var action = msg.charAt(0); 40 | if ( action === 'S' ) { 41 | var keyboardHeight = msg.substr(1); 42 | cordova.plugins.Keyboard.isVisible = true; 43 | cordova.fireWindowEvent('native.keyboardshow', { 'keyboardHeight': + keyboardHeight }); 44 | 45 | //deprecated 46 | cordova.fireWindowEvent('native.showkeyboard', { 'keyboardHeight': + keyboardHeight }); 47 | } else if ( action === 'H' ) { 48 | cordova.plugins.Keyboard.isVisible = false; 49 | cordova.fireWindowEvent('native.keyboardhide'); 50 | 51 | //deprecated 52 | cordova.fireWindowEvent('native.hidekeyboard'); 53 | } 54 | } 55 | }); 56 | 57 | module.exports = Keyboard; 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /plugins/ionic-plugin-keyboard/www/ios/keyboard.js: -------------------------------------------------------------------------------- 1 | 2 | var argscheck = require('cordova/argscheck'), 3 | utils = require('cordova/utils'), 4 | exec = require('cordova/exec'); 5 | 6 | 7 | var Keyboard = function() { 8 | }; 9 | 10 | Keyboard.hideKeyboardAccessoryBar = function(hide) { 11 | // exec(null, null, "Keyboard", "hideKeyboardAccessoryBar", [hide]); 12 | console.warn('hideKeyboardAccessoryBar has been removed until a method is found that doesn\'t get rejected from the App Store.') 13 | }; 14 | 15 | Keyboard.close = function() { 16 | exec(null, null, "Keyboard", "close", []); 17 | }; 18 | 19 | Keyboard.show = function() { 20 | console.warn('Showing keyboard not supported in iOS due to platform limitations.') 21 | console.warn('Instead, use input.focus(), and ensure that you have the following setting in your config.xml: \n'); 22 | console.warn(' \n'); 23 | // exec(null, null, "Keyboard", "show", []); 24 | }; 25 | 26 | Keyboard.disableScroll = function(disable) { 27 | exec(null, null, "Keyboard", "disableScroll", [disable]); 28 | }; 29 | 30 | /* 31 | Keyboard.styleDark = function(dark) { 32 | exec(null, null, "Keyboard", "styleDark", [dark]); 33 | }; 34 | */ 35 | 36 | Keyboard.isVisible = false; 37 | 38 | module.exports = Keyboard; 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /push.sh: -------------------------------------------------------------------------------- 1 | git add --all 2 | 3 | msg="[Add]daily commit with date `date`" 4 | if [ $# -eq 1 ] 5 | then msg="$1" 6 | fi 7 | 8 | git commit -m "$msg" 9 | 10 | git push origin master -------------------------------------------------------------------------------- /resources/android/icon/drawable-hdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/android/icon/drawable-hdpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-ldpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/android/icon/drawable-ldpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-mdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/android/icon/drawable-mdpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-xhdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/android/icon/drawable-xhdpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-xxhdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/android/icon/drawable-xxhdpi-icon.png -------------------------------------------------------------------------------- /resources/android/icon/drawable-xxxhdpi-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/android/icon/drawable-xxxhdpi-icon.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-hdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/android/splash/drawable-land-hdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-ldpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/android/splash/drawable-land-ldpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-mdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/android/splash/drawable-land-mdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-xhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/android/splash/drawable-land-xhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-xxhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/android/splash/drawable-land-xxhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-land-xxxhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/android/splash/drawable-land-xxxhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-hdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/android/splash/drawable-port-hdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-ldpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/android/splash/drawable-port-ldpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-mdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/android/splash/drawable-port-mdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-xhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/android/splash/drawable-port-xhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-xxhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/android/splash/drawable-port-xxhdpi-screen.png -------------------------------------------------------------------------------- /resources/android/splash/drawable-port-xxxhdpi-screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/android/splash/drawable-port-xxxhdpi-screen.png -------------------------------------------------------------------------------- /resources/demo0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/demo0.png -------------------------------------------------------------------------------- /resources/demo1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/demo1.png -------------------------------------------------------------------------------- /resources/demo2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/demo2.png -------------------------------------------------------------------------------- /resources/demo3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/demo3.png -------------------------------------------------------------------------------- /resources/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/icon.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/icon/icon-40.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/icon/icon-40@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/icon/icon-50.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-50@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/icon/icon-50@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/icon/icon-60.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/icon/icon-60@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/icon/icon-60@3x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/icon/icon-72.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-72@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/icon/icon-72@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/icon/icon-76.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/icon/icon-76@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/icon/icon-small.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-small@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/icon/icon-small@2x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon-small@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/icon/icon-small@3x.png -------------------------------------------------------------------------------- /resources/ios/icon/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/icon/icon.png -------------------------------------------------------------------------------- /resources/ios/icon/icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/icon/icon@2x.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-568h@2x~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/splash/Default-568h@2x~iphone.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-667h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/splash/Default-667h.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/splash/Default-736h.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Landscape-736h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/splash/Default-Landscape-736h.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Landscape@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/splash/Default-Landscape@2x~ipad.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Landscape~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/splash/Default-Landscape~ipad.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Portrait@2x~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/splash/Default-Portrait@2x~ipad.png -------------------------------------------------------------------------------- /resources/ios/splash/Default-Portrait~ipad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/splash/Default-Portrait~ipad.png -------------------------------------------------------------------------------- /resources/ios/splash/Default@2x~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/splash/Default@2x~iphone.png -------------------------------------------------------------------------------- /resources/ios/splash/Default~iphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/ios/splash/Default~iphone.png -------------------------------------------------------------------------------- /resources/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/resources/splash.png -------------------------------------------------------------------------------- /scss/ionic.app.scss: -------------------------------------------------------------------------------- 1 | /* 2 | To customize the look and feel of Ionic, you can override the variables 3 | in ionic's _variables.scss file. 4 | 5 | For example, you might change some of the default colors: 6 | 7 | $light: #fff !default; 8 | $stable: #f8f8f8 !default; 9 | $positive: #387ef5 !default; 10 | $calm: #11c1f3 !default; 11 | $balanced: #33cd5f !default; 12 | $energized: #ffc900 !default; 13 | $assertive: #ef473a !default; 14 | $royal: #886aea !default; 15 | $dark: #444 !default; 16 | */ 17 | 18 | // The path for our ionicons font files, relative to the built CSS in www/css 19 | $ionicons-font-path: "../lib/ionic/fonts" !default; 20 | 21 | // Include all of Ionic 22 | @import "www/lib/ionic/scss/ionic"; 23 | 24 | -------------------------------------------------------------------------------- /serve.sh: -------------------------------------------------------------------------------- 1 | ionic serve -------------------------------------------------------------------------------- /www/img/acount.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/www/img/acount.png -------------------------------------------------------------------------------- /www/img/adam.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/www/img/adam.jpg -------------------------------------------------------------------------------- /www/img/addportrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/www/img/addportrait.png -------------------------------------------------------------------------------- /www/img/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/www/img/background.jpg -------------------------------------------------------------------------------- /www/img/ben.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/www/img/ben.png -------------------------------------------------------------------------------- /www/img/callback.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/www/img/callback.png -------------------------------------------------------------------------------- /www/img/customer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/www/img/customer.png -------------------------------------------------------------------------------- /www/img/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/www/img/default.png -------------------------------------------------------------------------------- /www/img/invite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/www/img/invite.png -------------------------------------------------------------------------------- /www/img/ionic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/www/img/ionic.png -------------------------------------------------------------------------------- /www/img/max.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/www/img/max.png -------------------------------------------------------------------------------- /www/img/message.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/www/img/message.png -------------------------------------------------------------------------------- /www/img/mike.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/www/img/mike.png -------------------------------------------------------------------------------- /www/img/notification.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/www/img/notification.png -------------------------------------------------------------------------------- /www/img/perry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/www/img/perry.png -------------------------------------------------------------------------------- /www/img/question.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/www/img/question.png -------------------------------------------------------------------------------- /www/img/service.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/www/img/service.png -------------------------------------------------------------------------------- /www/img/setting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/www/img/setting.png -------------------------------------------------------------------------------- /www/img/team.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/www/img/team.png -------------------------------------------------------------------------------- /www/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /www/js/app-config.js: -------------------------------------------------------------------------------- 1 | define(['app'], function(app){ 2 | app 3 | .config(['$ionicConfigProvider','$sceDelegateProvider', function($ionicConfigProvider,$sceDelegateProvider) { 4 | $ionicConfigProvider.tabs.position('bottom'); // other values: top 5 | $ionicConfigProvider.platform.android.views.maxCache(5); //安卓缓存5个view,ios默认10个 6 | $ionicConfigProvider.tabs.style('standard'); 7 | 8 | $sceDelegateProvider.resourceUrlWhitelist([ 9 | // Allow same origin resource loads. 10 | 'self', 11 | // Allow loading from our assets domain. Notice the difference between * and **. 12 | 'http://srv*.assets.example.com/**' 13 | ]); 14 | 15 | /* // The blacklist overrides the whitelist so the open redirect here is blocked. 16 | * $sceDelegateProvider.resourceUrlBlacklist([ 17 | * 'http://myapp.example.com/clickThru**' 18 | * ]); 19 | */ 20 | }]) 21 | .run(function($ionicPlatform) { 22 | $ionicPlatform.ready(function() { 23 | // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard 24 | // for form inputs) 25 | if (window.cordova && window.cordova.plugins && window.cordova.plugins.Keyboard) { 26 | cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true); 27 | cordova.plugins.Keyboard.disableScroll(true); 28 | 29 | } 30 | if (window.StatusBar) { 31 | // org.apache.cordova.statusbar required 32 | StatusBar.styleLightContent(); 33 | } 34 | }); 35 | 36 | 37 | }); 38 | }); 39 | -------------------------------------------------------------------------------- /www/js/app.js: -------------------------------------------------------------------------------- 1 | 2 | define(['ionic','asyncLoader','ngcordova'],function (ionic,asyncLoader) { 3 | var app = angular.module('app', ['ui.router', 'ionic', 'ngCordova']); 4 | asyncLoader.configure(app); 5 | return app; 6 | }); -------------------------------------------------------------------------------- /www/js/bootstrap.js: -------------------------------------------------------------------------------- 1 | define(['ionic', 2 | 'app', 3 | 'routes', 4 | 'appConfig', 5 | 'js/utils/storage' 6 | ], function(ionic,app,routes,appConfig, storage){ 7 | angular.element(document.getElementsByTagName('html')[0]).ready(function () { 8 | try { 9 | angular.bootstrap(document, ['app']); 10 | } catch (e) { 11 | console.error(e.stack || e.message || e); 12 | } 13 | }); 14 | }); 15 | 16 | -------------------------------------------------------------------------------- /www/js/controllers/activitymsg.js: -------------------------------------------------------------------------------- 1 | define(['app'],function (app) { 2 | app.controller('activitymsgCtrl', ['$scope','$ionicPopup', function($scope, $ionicPopup) { 3 | // Triggered on a button click, or some other target 4 | $scope.addcomment = function() { 5 | $scope.data = {} 6 | var myPopup = $ionicPopup.show({ 7 | template: '', 8 | title: '添加评论', 9 | scope: $scope, 10 | buttons: [ 11 | { text: '取消' }, 12 | { 13 | text: '保存', 14 | type: 'button-positive', 15 | onTap: function(e) { 16 | return $scope.data.comment; 17 | } 18 | } 19 | ] 20 | }); 21 | myPopup.then(function(res) { 22 | console.log('Tapped!', res); 23 | }); 24 | }; 25 | 26 | }]); 27 | 28 | }); -------------------------------------------------------------------------------- /www/js/controllers/add.js: -------------------------------------------------------------------------------- 1 | define(['app'],function (app) { 2 | app.controller('addCtrl', ['$scope', function($scope) { 3 | var pages = "#/tab/home+#/tab/message+#/tab/add+#/tab/friend+#/tab/mine"; 4 | $scope.$on('$ionicView.afterEnter', function() { 5 | if (pages.indexOf(location.hash) > -1) { 6 | var tabs =document.getElementsByTagName('ion-tabs'); 7 | angular.element(tabs).removeClass("tabs-item-hide"); 8 | } 9 | }); 10 | $scope.$on('$ionicView.beforeLeave', function() { 11 | if (pages.indexOf(location.hash) > -1) return; 12 | var tabs =document.getElementsByTagName('ion-tabs'); 13 | angular.element(tabs).addClass("tabs-item-hide"); 14 | }); 15 | 16 | 17 | }]); 18 | }); 19 | 20 | -------------------------------------------------------------------------------- /www/js/controllers/addAct.js: -------------------------------------------------------------------------------- 1 | define(['app'],function (app) { 2 | app.controller('addActCtrl', ['$scope','$ionicPopup', function($scope, $ionicPopup) { 3 | 4 | }]); 5 | 6 | }); -------------------------------------------------------------------------------- /www/js/controllers/addPost.js: -------------------------------------------------------------------------------- 1 | define(['app'],function (app) { 2 | app.controller('addPostCtrl', ['$scope','$ionicPopup', function($scope, $ionicPopup) { 3 | // Triggered on a button click, or some other target 4 | $scope.addcomment = function() { 5 | $scope.data = {} 6 | var myPopup = $ionicPopup.show({ 7 | template: '', 8 | title: '添加评论', 9 | scope: $scope, 10 | buttons: [ 11 | { text: '取消' }, 12 | { 13 | text: '保存', 14 | type: 'button-positive', 15 | onTap: function(e) { 16 | return $scope.data.comment; 17 | } 18 | } 19 | ] 20 | }); 21 | myPopup.then(function(res) { 22 | console.log('Tapped!', res); 23 | }); 24 | }; 25 | 26 | }]); 27 | 28 | }); -------------------------------------------------------------------------------- /www/js/controllers/content-mine.js: -------------------------------------------------------------------------------- 1 | define(['app'],function (app) { 2 | app.controller('content-mineCtrl', ['$scope', '$stateParams', function($scope, $stateParams) { 3 | $scope.type = $stateParams.type; 4 | }]); 5 | }); 6 | 7 | -------------------------------------------------------------------------------- /www/js/controllers/createGroup.js: -------------------------------------------------------------------------------- 1 | define(['app'],function (app) { 2 | app.controller('createGroupCtrl', ['$scope','$ionicPopup', function($scope, $ionicPopup) { 3 | // Triggered on a button click, or some other target 4 | $scope.addcomment = function() { 5 | $scope.data = {} 6 | var myPopup = $ionicPopup.show({ 7 | template: '', 8 | title: '添加评论', 9 | scope: $scope, 10 | buttons: [ 11 | { text: '取消' }, 12 | { 13 | text: '保存', 14 | type: 'button-positive', 15 | onTap: function(e) { 16 | return $scope.data.comment; 17 | } 18 | } 19 | ] 20 | }); 21 | myPopup.then(function(res) { 22 | console.log('Tapped!', res); 23 | }); 24 | }; 25 | 26 | }]); 27 | 28 | }); -------------------------------------------------------------------------------- /www/js/controllers/findpsw.js: -------------------------------------------------------------------------------- 1 | 2 | define(['app'],function (app) { 3 | app.controller('findpswCtrl', ['$scope','$ionicHistory', function($scope,$ionicHistory) { 4 | $scope.showPassword = function() { 5 | $scope.show_psd = !$scope.show_psd 6 | } 7 | }]); 8 | 9 | }); -------------------------------------------------------------------------------- /www/js/controllers/friend.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/www/js/controllers/friend.js -------------------------------------------------------------------------------- /www/js/controllers/friendDetail.js: -------------------------------------------------------------------------------- 1 | define(['app'],function (app) { 2 | app.controller('friendDetailCtrl', ['$scope','$ionicPopup', function($scope, $ionicPopup) { 3 | // Triggered on a button click, or some other target 4 | 5 | }]); 6 | 7 | }); -------------------------------------------------------------------------------- /www/js/controllers/giveup.js: -------------------------------------------------------------------------------- 1 | define(['app'],function (app) { 2 | app.controller('giveupCtrl', ['$scope', '$stateParams', function($scope, $stateParams) { 3 | $scope.type = 0; 4 | $scope.changeType = function(type){ 5 | $scope.type = type; 6 | } 7 | }]); 8 | }); 9 | 10 | -------------------------------------------------------------------------------- /www/js/controllers/groupDetail.js: -------------------------------------------------------------------------------- 1 | define(['app'],function (app) { 2 | app.controller('groupDetailCtrl', ['$scope','$ionicPopup', function($scope, $ionicPopup) { 3 | // Triggered on a button click, or some other target 4 | $scope.type = "post"; 5 | 6 | var type = ["post", "act"]; 7 | $scope.changeType = function (a) { 8 | $scope.type = type[a]; 9 | } 10 | }]); 11 | 12 | }); -------------------------------------------------------------------------------- /www/js/controllers/groupmsg.js: -------------------------------------------------------------------------------- 1 | 2 | define(['app'],function (app) { 3 | app.controller('groupmsgCtrl', ['$scope','$ionicPopup', function($scope, $ionicPopup) { 4 | 5 | // Triggered on a button click, or some other target 6 | $scope.addcomment = function() { 7 | $scope.data = {} 8 | var myPopup = $ionicPopup.show({ 9 | template: '', 10 | title: '添加评论', 11 | scope: $scope, 12 | buttons: [ 13 | { text: '取消' }, 14 | { 15 | text: '保存', 16 | type: 'button-positive', 17 | onTap: function(e) { 18 | return $scope.data.comment; 19 | } 20 | } 21 | ] 22 | }); 23 | myPopup.then(function(res) { 24 | console.log('Tapped!', res); 25 | }); 26 | }; 27 | 28 | }]); 29 | }); -------------------------------------------------------------------------------- /www/js/controllers/home.js: -------------------------------------------------------------------------------- 1 | define(['app'],function (app) { 2 | app.controller('homeCtrl', ['$scope', function($scope) { 3 | var pages = "#/tab/home+#/tab/message+#/tab/add+#/tab/friend+#/tab/mine"; 4 | $scope.$on('$ionicView.afterEnter', function() { 5 | if (pages.indexOf(location.hash) > -1) { 6 | var tabs =document.getElementsByTagName('ion-tabs'); 7 | angular.element(tabs).removeClass("tabs-item-hide"); 8 | } 9 | }); 10 | $scope.$on('$ionicView.beforeLeave', function() { 11 | if (pages.indexOf(location.hash) > -1) return; 12 | var tabs =document.getElementsByTagName('ion-tabs'); 13 | angular.element(tabs).addClass("tabs-item-hide"); 14 | }); 15 | 16 | var varity = ['discovery', 'location']; 17 | $scope.type = varity[0]; 18 | $scope.changeType = function(num) { 19 | $scope.type = varity[num]; 20 | }; 21 | var activity = ['activity', 'personal', 'group']; 22 | $scope.act = activity[0]; 23 | $scope.changeAct = function(num) { 24 | $scope.act = activity[num]; 25 | }; 26 | 27 | }]); 28 | }); 29 | 30 | -------------------------------------------------------------------------------- /www/js/controllers/index.js: -------------------------------------------------------------------------------- 1 | define(['app'],function (app) { 2 | app.controller('indexCtrl', ['$scope', function($scope) { 3 | }]); 4 | }); 5 | 6 | -------------------------------------------------------------------------------- /www/js/controllers/location.js: -------------------------------------------------------------------------------- 1 | define(['app'],function (app) { 2 | app.controller('locationCtrl', ['$scope', '$stateParams', '$http', '$ionicHistory', function($scope, $stateParams, $http, $ionicHistory) { 3 | $scope.city_json = []; 4 | $scope.type = 0; 5 | 6 | $http({ 7 | url:'data/city.json', 8 | method:'GET' 9 | }).success(function(data,header,config,status){ 10 | $scope.city_json = data; 11 | }); 12 | 13 | $scope.changeType = function(){ 14 | $ionicHistory.goBack(); 15 | } 16 | }]); 17 | }); 18 | 19 | -------------------------------------------------------------------------------- /www/js/controllers/login.js: -------------------------------------------------------------------------------- 1 | define(['app'],function (app) { 2 | app.controller('loginCtrl', ['$scope','$ionicPopup', function($scope, $ionicPopup) { 3 | $scope.$on("$ionicView.beforeEnter", function(){ 4 | var dm_auth = "xx"; 5 | if (dm_auth) { 6 | $scope.user = { 7 | name:dm_auth.phone, 8 | password:'' 9 | } 10 | } else { 11 | $scope.user = { 12 | name:'', 13 | password:'' 14 | } 15 | } 16 | }); 17 | 18 | $scope.login = function() { 19 | location.href = "#/tab/home"; 20 | return; 21 | 22 | var user_name = $scope.user.name, 23 | password = $scope.user.password; 24 | if (!user_name || user_name == '') { 25 | $scope.err_txt = '用户名不能为空'; 26 | return; 27 | } 28 | if (!password || password == '') { 29 | 30 | return; 31 | } 32 | }; 33 | 34 | $scope.showPassword = function() { 35 | $scope.show_psd = !$scope.show_psd 36 | } 37 | 38 | }]); 39 | }); -------------------------------------------------------------------------------- /www/js/controllers/message.js: -------------------------------------------------------------------------------- 1 | define(['app'],function (app) { 2 | app.controller('messageCtrl', ['$scope', function($scope) { 3 | var pages = "#/tab/home+#/tab/message+#/tab/add+#/tab/friend+#/tab/mine"; 4 | $scope.$on('$ionicView.afterEnter', function() { 5 | if (pages.indexOf(location.hash) > -1) { 6 | var tabs =document.getElementsByTagName('ion-tabs'); 7 | angular.element(tabs).removeClass("tabs-item-hide"); 8 | } 9 | }); 10 | $scope.$on('$ionicView.beforeLeave', function() { 11 | if (pages.indexOf(location.hash) > -1) return; 12 | var tabs =document.getElementsByTagName('ion-tabs'); 13 | angular.element(tabs).addClass("tabs-item-hide"); 14 | }); 15 | }]); 16 | }); 17 | 18 | -------------------------------------------------------------------------------- /www/js/controllers/mine.js: -------------------------------------------------------------------------------- 1 | define(['app'],function (app) { 2 | app.controller('mineCtrl', ['$scope', function($scope) { 3 | var pages = "#/tab/home+#/tab/message+#/tab/add+#/tab/friend+#/tab/mine"; 4 | $scope.$on('$ionicView.afterEnter', function() { 5 | if (pages.indexOf(location.hash) > -1) { 6 | var tabs =document.getElementsByTagName('ion-tabs'); 7 | angular.element(tabs).removeClass("tabs-item-hide"); 8 | } 9 | }); 10 | $scope.$on('$ionicView.beforeLeave', function() { 11 | if (pages.indexOf(location.hash) > -1) return; 12 | var tabs =document.getElementsByTagName('ion-tabs'); 13 | angular.element(tabs).addClass("tabs-item-hide"); 14 | }); 15 | }]); 16 | }); 17 | 18 | -------------------------------------------------------------------------------- /www/js/controllers/myact.js: -------------------------------------------------------------------------------- 1 | define(['app'],function (app) { 2 | app.controller('myactCtrl', ['$scope','$ionicPopup', function($scope, $ionicPopup) { 3 | 4 | }]); 5 | 6 | }); -------------------------------------------------------------------------------- /www/js/controllers/mypost.js: -------------------------------------------------------------------------------- 1 | define(['app'],function (app) { 2 | app.controller('mypostCtrl', ['$scope','$ionicPopup', function($scope, $ionicPopup) { 3 | 4 | }]); 5 | 6 | }); -------------------------------------------------------------------------------- /www/js/controllers/protocolText.js: -------------------------------------------------------------------------------- 1 | define(['app'],function (app) { 2 | app.controller('protocolTextCtrl', ['$scope', '$stateParams', function($scope, $stateParams) { 3 | $scope.type = $stateParams.type; 4 | }]); 5 | }); 6 | 7 | -------------------------------------------------------------------------------- /www/js/controllers/register.js: -------------------------------------------------------------------------------- 1 | 2 | define(['app'],function (app) { 3 | app.controller('registerCtrl', ['$scope','$ionicHistory', function($scope,$ionicHistory) { 4 | // $scope.name = 'register'; 5 | $scope.back = function() { 6 | $ionicHistory.goBack(); 7 | } 8 | $scope.showPassword = function() { 9 | $scope.show_psd = !$scope.show_psd 10 | } 11 | }]); 12 | 13 | }); -------------------------------------------------------------------------------- /www/js/controllers/search.js: -------------------------------------------------------------------------------- 1 | define(['app'],function (app) { 2 | app.controller('searchCtrl', ['$scope', '$stateParams', function($scope, $stateParams) { 3 | $scope.tag = ""; 4 | 5 | $scope.delete = function () { 6 | $scope.tag = ""; 7 | } 8 | }]); 9 | }); 10 | 11 | -------------------------------------------------------------------------------- /www/js/controllers/set.js: -------------------------------------------------------------------------------- 1 | define(['app'],function (app) { 2 | app.controller('setCtrl', ['$scope', '$ionicPopup', '$ionicHistory', 'Storage', function($scope, $ionicPopup, $ionicHistory, Storage) { 3 | $scope.comfirm = function () { 4 | $ionicHistory.goBack(); 5 | Storage.set("DM_Auth", ""); 6 | setTimeout(function(){ 7 | location.href = "#/index"; 8 | }, 100); 9 | } 10 | }]); 11 | 12 | }); -------------------------------------------------------------------------------- /www/js/controllers/userText.js: -------------------------------------------------------------------------------- 1 | define(['app'],function (app) { 2 | app.controller('userTextCtrl', ['$scope', '$stateParams', function($scope, $stateParams) { 3 | 4 | }]); 5 | }); 6 | 7 | -------------------------------------------------------------------------------- /www/js/require-config.js: -------------------------------------------------------------------------------- 1 | require.config({ 2 | baseUrl: './', 3 | paths: { 4 | 'app': 'js/app', 5 | 'appConfig':'js/app-config', 6 | 'routes': 'js/routes', 7 | 'ionic': 'lib/ionic/js/ionic.bundle', 8 | 'ngcordova': 'lib/ngCordova/dist/ng-cordova', 9 | 'bootstrap':'js/bootstrap', 10 | 'zepto':'lib/zepto/zepto.min', 11 | 'asyncLoader': 'lib/async-loader/angular-async-loader' 12 | }, 13 | shim: { 14 | 'app': { 15 | deps: ['ionic'] 16 | }, 17 | 'routes': { 18 | deps: ['ionic','app'] 19 | }, 20 | 'appConfig':{ 21 | deps: ['app'] 22 | }, 23 | 'ionic' : {exports : 'ionic'}, 24 | }, 25 | priority: [ 26 | 'ionic', 27 | 'ngcordova', 28 | 'app', 29 | 'routes', 30 | 'appConfig' 31 | ], 32 | deps: [ 33 | 'bootstrap' 34 | ] 35 | }); -------------------------------------------------------------------------------- /www/js/utils/storage.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Created by suiman on 15/11/10. 3 | */ 4 | 5 | //存储全局信息 6 | 7 | define(['app'],function(app){ 8 | app 9 | .factory('Storage', function storageService() { 10 | 11 | var storage = window.localStorage; 12 | var json = window.JSON; 13 | 14 | return { 15 | set: set, 16 | get: get, 17 | clear: clear, 18 | remove: remove 19 | }; 20 | 21 | function set(key, value) { 22 | storage.setItem(key, json.stringify(value)); 23 | } 24 | 25 | function get(key) { 26 | var value = json.parse(storage.getItem(key)); 27 | if(null != value) { 28 | return value; 29 | } 30 | return undefined; 31 | } 32 | 33 | function clear() { 34 | storage.clear(); 35 | } 36 | 37 | function remove(key) { 38 | storage.removeItem(key); 39 | } 40 | }); 41 | }); 42 | 43 | 44 | -------------------------------------------------------------------------------- /www/js/utils/tips.js: -------------------------------------------------------------------------------- 1 | /* 2 | 弹框提示 3 | example:showTips('请输入密码', 3000); 4 | */ 5 | define(function (require, exports, module) { 6 | 7 | function showTips(msg, timeout) { 8 | var body = document.getElementsByTagName('body'); 9 | var div = document.createElement('div'); 10 | div.className = "dm-tips"; 11 | div.innerHTML = msg; 12 | body[0].appendChild(div); 13 | var t = timeout || 2000; 14 | div.style.animation = 'tipsHide ' + t/1000 + 's cubic-bezier(0.42, 0, 0.9, 0.21) forwards'; 15 | setTimeout(function () { 16 | body[0].removeChild(div); 17 | }, t); 18 | } 19 | 20 | module.exports = { 21 | 'showTips': showTips 22 | } 23 | }); -------------------------------------------------------------------------------- /www/lib/angular-animate/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-animate", 3 | "version": "1.4.3", 4 | "main": "./angular-animate.js", 5 | "ignore": [], 6 | "dependencies": { 7 | "angular": "1.4.3" 8 | }, 9 | "homepage": "https://github.com/angular/bower-angular-animate", 10 | "_release": "1.4.3", 11 | "_resolution": { 12 | "type": "version", 13 | "tag": "v1.4.3", 14 | "commit": "4ce2a76359401102d2e0146ccf69e6c060799ff8" 15 | }, 16 | "_source": "git://github.com/angular/bower-angular-animate.git", 17 | "_target": "1.4.3", 18 | "_originalSource": "angular-animate" 19 | } -------------------------------------------------------------------------------- /www/lib/angular-animate/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-animate", 3 | "version": "1.4.3", 4 | "main": "./angular-animate.js", 5 | "ignore": [], 6 | "dependencies": { 7 | "angular": "1.4.3" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /www/lib/angular-animate/index.js: -------------------------------------------------------------------------------- 1 | require('./angular-animate'); 2 | module.exports = 'ngAnimate'; 3 | -------------------------------------------------------------------------------- /www/lib/angular-animate/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-animate", 3 | "version": "1.4.3", 4 | "description": "AngularJS module for animations", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/angular/angular.js.git" 12 | }, 13 | "keywords": [ 14 | "angular", 15 | "framework", 16 | "browser", 17 | "animation", 18 | "client-side" 19 | ], 20 | "author": "Angular Core Team ", 21 | "license": "MIT", 22 | "bugs": { 23 | "url": "https://github.com/angular/angular.js/issues" 24 | }, 25 | "homepage": "http://angularjs.org" 26 | } 27 | -------------------------------------------------------------------------------- /www/lib/angular-sanitize/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-sanitize", 3 | "version": "1.4.3", 4 | "main": "./angular-sanitize.js", 5 | "ignore": [], 6 | "dependencies": { 7 | "angular": "1.4.3" 8 | }, 9 | "homepage": "https://github.com/angular/bower-angular-sanitize", 10 | "_release": "1.4.3", 11 | "_resolution": { 12 | "type": "version", 13 | "tag": "v1.4.3", 14 | "commit": "0367ee4c3f9cb8af5d1da9ec35b71a8b523d9fc0" 15 | }, 16 | "_source": "git://github.com/angular/bower-angular-sanitize.git", 17 | "_target": "1.4.3", 18 | "_originalSource": "angular-sanitize" 19 | } -------------------------------------------------------------------------------- /www/lib/angular-sanitize/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-sanitize", 3 | "version": "1.4.3", 4 | "main": "./angular-sanitize.js", 5 | "ignore": [], 6 | "dependencies": { 7 | "angular": "1.4.3" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /www/lib/angular-sanitize/index.js: -------------------------------------------------------------------------------- 1 | require('./angular-sanitize'); 2 | module.exports = 'ngSanitize'; 3 | -------------------------------------------------------------------------------- /www/lib/angular-sanitize/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-sanitize", 3 | "version": "1.4.3", 4 | "description": "AngularJS module for sanitizing HTML", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/angular/angular.js.git" 12 | }, 13 | "keywords": [ 14 | "angular", 15 | "framework", 16 | "browser", 17 | "html", 18 | "client-side" 19 | ], 20 | "author": "Angular Core Team ", 21 | "license": "MIT", 22 | "bugs": { 23 | "url": "https://github.com/angular/angular.js/issues" 24 | }, 25 | "homepage": "http://angularjs.org" 26 | } 27 | -------------------------------------------------------------------------------- /www/lib/angular-ui-router/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-ui-router", 3 | "version": "0.2.13", 4 | "main": "./release/angular-ui-router.js", 5 | "dependencies": { 6 | "angular": ">= 1.0.8" 7 | }, 8 | "ignore": [ 9 | "**/.*", 10 | "node_modules", 11 | "bower_components", 12 | "component.json", 13 | "package.json", 14 | "lib", 15 | "config", 16 | "sample", 17 | "test", 18 | "tests", 19 | "ngdoc_assets", 20 | "Gruntfile.js", 21 | "files.js" 22 | ], 23 | "homepage": "https://github.com/angular-ui/angular-ui-router-bower", 24 | "_release": "0.2.13", 25 | "_resolution": { 26 | "type": "version", 27 | "tag": "0.2.13", 28 | "commit": "2e580f271defdec34f464aab0cca519e41d1ee33" 29 | }, 30 | "_source": "git://github.com/angular-ui/angular-ui-router-bower.git", 31 | "_target": "0.2.13", 32 | "_originalSource": "angular-ui-router" 33 | } -------------------------------------------------------------------------------- /www/lib/angular-ui-router/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2014 The AngularUI Team, Karsten Sperling 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 | -------------------------------------------------------------------------------- /www/lib/angular-ui-router/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-ui-router", 3 | "version": "0.2.13", 4 | "main": "./release/angular-ui-router.js", 5 | "dependencies": { 6 | "angular": ">= 1.0.8" 7 | }, 8 | "ignore": [ 9 | "**/.*", 10 | "node_modules", 11 | "bower_components", 12 | "component.json", 13 | "package.json", 14 | "lib", 15 | "config", 16 | "sample", 17 | "test", 18 | "tests", 19 | "ngdoc_assets", 20 | "Gruntfile.js", 21 | "files.js" 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /www/lib/angular-ui-router/src/stateFilters.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @ngdoc filter 3 | * @name ui.router.state.filter:isState 4 | * 5 | * @requires ui.router.state.$state 6 | * 7 | * @description 8 | * Translates to {@link ui.router.state.$state#methods_is $state.is("stateName")}. 9 | */ 10 | $IsStateFilter.$inject = ['$state']; 11 | function $IsStateFilter($state) { 12 | var isFilter = function (state) { 13 | return $state.is(state); 14 | }; 15 | isFilter.$stateful = true; 16 | return isFilter; 17 | } 18 | 19 | /** 20 | * @ngdoc filter 21 | * @name ui.router.state.filter:includedByState 22 | * 23 | * @requires ui.router.state.$state 24 | * 25 | * @description 26 | * Translates to {@link ui.router.state.$state#methods_includes $state.includes('fullOrPartialStateName')}. 27 | */ 28 | $IncludedByStateFilter.$inject = ['$state']; 29 | function $IncludedByStateFilter($state) { 30 | var includesFilter = function (state) { 31 | return $state.includes(state); 32 | }; 33 | includesFilter.$stateful = true; 34 | return includesFilter; 35 | } 36 | 37 | angular.module('ui.router.state') 38 | .filter('isState', $IsStateFilter) 39 | .filter('includedByState', $IncludedByStateFilter); 40 | -------------------------------------------------------------------------------- /www/lib/angular-ui-router/src/viewScroll.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @ngdoc object 3 | * @name ui.router.state.$uiViewScrollProvider 4 | * 5 | * @description 6 | * Provider that returns the {@link ui.router.state.$uiViewScroll} service function. 7 | */ 8 | function $ViewScrollProvider() { 9 | 10 | var useAnchorScroll = false; 11 | 12 | /** 13 | * @ngdoc function 14 | * @name ui.router.state.$uiViewScrollProvider#useAnchorScroll 15 | * @methodOf ui.router.state.$uiViewScrollProvider 16 | * 17 | * @description 18 | * Reverts back to using the core [`$anchorScroll`](http://docs.angularjs.org/api/ng.$anchorScroll) service for 19 | * scrolling based on the url anchor. 20 | */ 21 | this.useAnchorScroll = function () { 22 | useAnchorScroll = true; 23 | }; 24 | 25 | /** 26 | * @ngdoc object 27 | * @name ui.router.state.$uiViewScroll 28 | * 29 | * @requires $anchorScroll 30 | * @requires $timeout 31 | * 32 | * @description 33 | * When called with a jqLite element, it scrolls the element into view (after a 34 | * `$timeout` so the DOM has time to refresh). 35 | * 36 | * If you prefer to rely on `$anchorScroll` to scroll the view to the anchor, 37 | * this can be enabled by calling {@link ui.router.state.$uiViewScrollProvider#methods_useAnchorScroll `$uiViewScrollProvider.useAnchorScroll()`}. 38 | */ 39 | this.$get = ['$anchorScroll', '$timeout', function ($anchorScroll, $timeout) { 40 | if (useAnchorScroll) { 41 | return $anchorScroll; 42 | } 43 | 44 | return function ($element) { 45 | $timeout(function () { 46 | $element[0].scrollIntoView(); 47 | }, 0, false); 48 | }; 49 | }]; 50 | } 51 | 52 | angular.module('ui.router.state').provider('$uiViewScroll', $ViewScrollProvider); 53 | -------------------------------------------------------------------------------- /www/lib/angular/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular", 3 | "version": "1.4.3", 4 | "main": "./angular.js", 5 | "ignore": [], 6 | "dependencies": {}, 7 | "homepage": "https://github.com/angular/bower-angular", 8 | "_release": "1.4.3", 9 | "_resolution": { 10 | "type": "version", 11 | "tag": "v1.4.3", 12 | "commit": "dbd689e8103a6366e53e1f6786727f7c65ccfd75" 13 | }, 14 | "_source": "git://github.com/angular/bower-angular.git", 15 | "_target": "1.4.3", 16 | "_originalSource": "angular" 17 | } -------------------------------------------------------------------------------- /www/lib/angular/angular-csp.css: -------------------------------------------------------------------------------- 1 | /* Include this file in your html if you are using the CSP mode. */ 2 | 3 | @charset "UTF-8"; 4 | 5 | [ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], 6 | .ng-cloak, .x-ng-cloak, 7 | .ng-hide:not(.ng-hide-animate) { 8 | display: none !important; 9 | } 10 | 11 | ng\:form { 12 | display: block; 13 | } 14 | 15 | .ng-animate-shim { 16 | visibility:hidden; 17 | } 18 | 19 | .ng-anchor { 20 | position:absolute; 21 | } 22 | -------------------------------------------------------------------------------- /www/lib/angular/angular.min.js.gzip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/www/lib/angular/angular.min.js.gzip -------------------------------------------------------------------------------- /www/lib/angular/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular", 3 | "version": "1.4.3", 4 | "main": "./angular.js", 5 | "ignore": [], 6 | "dependencies": { 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /www/lib/angular/index.js: -------------------------------------------------------------------------------- 1 | require('./angular'); 2 | module.exports = angular; 3 | -------------------------------------------------------------------------------- /www/lib/angular/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular", 3 | "version": "1.4.3", 4 | "description": "HTML enhanced for web apps", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "https://github.com/angular/angular.js.git" 12 | }, 13 | "keywords": [ 14 | "angular", 15 | "framework", 16 | "browser", 17 | "client-side" 18 | ], 19 | "author": "Angular Core Team ", 20 | "license": "MIT", 21 | "bugs": { 22 | "url": "https://github.com/angular/angular.js/issues" 23 | }, 24 | "homepage": "http://angularjs.org" 25 | } 26 | -------------------------------------------------------------------------------- /www/lib/ionic/fonts/ionicons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/www/lib/ionic/fonts/ionicons.eot -------------------------------------------------------------------------------- /www/lib/ionic/fonts/ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/www/lib/ionic/fonts/ionicons.ttf -------------------------------------------------------------------------------- /www/lib/ionic/fonts/ionicons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/wfxiaolong/ionic-social-app/2ee671f79597e83af3c697a18a3bcc9ea5c2a52c/www/lib/ionic/fonts/ionicons.woff -------------------------------------------------------------------------------- /www/lib/ionic/scss/_animations.scss: -------------------------------------------------------------------------------- 1 | 2 | // Slide up from the bottom, used for modals 3 | // ------------------------------- 4 | 5 | .slide-in-up { 6 | @include translate3d(0, 100%, 0); 7 | } 8 | .slide-in-up.ng-enter, 9 | .slide-in-up > .ng-enter { 10 | @include transition(all cubic-bezier(.1, .7, .1, 1) 400ms); 11 | } 12 | .slide-in-up.ng-enter-active, 13 | .slide-in-up > .ng-enter-active { 14 | @include translate3d(0, 0, 0); 15 | } 16 | 17 | .slide-in-up.ng-leave, 18 | .slide-in-up > .ng-leave { 19 | @include transition(all ease-in-out 250ms); 20 | } 21 | 22 | 23 | // Scale Out 24 | // Scale from hero (1 in this case) to zero 25 | // ------------------------------- 26 | 27 | @-webkit-keyframes scaleOut { 28 | from { -webkit-transform: scale(1); opacity: 1; } 29 | to { -webkit-transform: scale(0.8); opacity: 0; } 30 | } 31 | @keyframes scaleOut { 32 | from { transform: scale(1); opacity: 1; } 33 | to { transform: scale(0.8); opacity: 0; } 34 | } 35 | 36 | 37 | // Super Scale In 38 | // Scale from super (1.x) to duper (1 in this case) 39 | // ------------------------------- 40 | 41 | @-webkit-keyframes superScaleIn { 42 | from { -webkit-transform: scale(1.2); opacity: 0; } 43 | to { -webkit-transform: scale(1); opacity: 1 } 44 | } 45 | @keyframes superScaleIn { 46 | from { transform: scale(1.2); opacity: 0; } 47 | to { transform: scale(1); opacity: 1; } 48 | } 49 | -------------------------------------------------------------------------------- /www/lib/ionic/scss/_backdrop.scss: -------------------------------------------------------------------------------- 1 | 2 | .backdrop { 3 | position: fixed; 4 | top: 0; 5 | left: 0; 6 | z-index: $z-index-backdrop; 7 | 8 | width: 100%; 9 | height: 100%; 10 | 11 | background-color: $loading-backdrop-bg-color; 12 | 13 | visibility: hidden; 14 | opacity: 0; 15 | 16 | &.visible { 17 | visibility: visible; 18 | } 19 | &.active { 20 | opacity: 1; 21 | } 22 | 23 | @include transition($loading-backdrop-fadein-duration opacity linear); 24 | } 25 | -------------------------------------------------------------------------------- /www/lib/ionic/scss/_badge.scss: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Badges 4 | * -------------------------------------------------- 5 | */ 6 | 7 | .badge { 8 | @include badge-style($badge-default-bg, $badge-default-text); 9 | z-index: $z-index-badge; 10 | display: inline-block; 11 | padding: 3px 8px; 12 | min-width: 10px; 13 | border-radius: $badge-border-radius; 14 | vertical-align: baseline; 15 | text-align: center; 16 | white-space: nowrap; 17 | font-weight: $badge-font-weight; 18 | font-size: $badge-font-size; 19 | line-height: $badge-line-height; 20 | 21 | &:empty { 22 | display: none; 23 | } 24 | } 25 | 26 | //Be sure to override specificity of rule that 'badge color matches tab color by default' 27 | .tabs .tab-item .badge, 28 | .badge { 29 | &.badge-light { 30 | @include badge-style($badge-light-bg, $badge-light-text); 31 | } 32 | &.badge-stable { 33 | @include badge-style($badge-stable-bg, $badge-stable-text); 34 | } 35 | &.badge-positive { 36 | @include badge-style($badge-positive-bg, $badge-positive-text); 37 | } 38 | &.badge-calm { 39 | @include badge-style($badge-calm-bg, $badge-calm-text); 40 | } 41 | &.badge-assertive { 42 | @include badge-style($badge-assertive-bg, $badge-assertive-text); 43 | } 44 | &.badge-balanced { 45 | @include badge-style($badge-balanced-bg, $badge-balanced-text); 46 | } 47 | &.badge-energized { 48 | @include badge-style($badge-energized-bg, $badge-energized-text); 49 | } 50 | &.badge-royal { 51 | @include badge-style($badge-royal-bg, $badge-royal-text); 52 | } 53 | &.badge-dark { 54 | @include badge-style($badge-dark-bg, $badge-dark-text); 55 | } 56 | } 57 | 58 | // Quick fix for labels/badges in buttons 59 | .button .badge { 60 | position: relative; 61 | top: -1px; 62 | } 63 | -------------------------------------------------------------------------------- /www/lib/ionic/scss/_button-bar.scss: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Button Bar 4 | * -------------------------------------------------- 5 | */ 6 | 7 | .button-bar { 8 | @include display-flex(); 9 | @include flex(1); 10 | width: 100%; 11 | 12 | &.button-bar-inline { 13 | display: block; 14 | width: auto; 15 | 16 | @include clearfix(); 17 | 18 | > .button { 19 | width: auto; 20 | display: inline-block; 21 | float: left; 22 | } 23 | } 24 | } 25 | 26 | .button-bar > .button { 27 | @include flex(1); 28 | display: block; 29 | 30 | overflow: hidden; 31 | 32 | padding: 0 16px; 33 | 34 | width: 0; 35 | 36 | border-width: 1px 0px 1px 1px; 37 | border-radius: 0; 38 | text-align: center; 39 | text-overflow: ellipsis; 40 | white-space: nowrap; 41 | 42 | &:before, 43 | .icon:before { 44 | line-height: 44px; 45 | } 46 | 47 | &:first-child { 48 | border-radius: $button-border-radius 0px 0px $button-border-radius; 49 | } 50 | &:last-child { 51 | border-right-width: 1px; 52 | border-radius: 0px $button-border-radius $button-border-radius 0px; 53 | } 54 | &:only-child { 55 | border-radius: $button-border-radius; 56 | } 57 | } 58 | 59 | .button-bar > .button-small { 60 | &:before, 61 | .icon:before { 62 | line-height: 28px; 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /www/lib/ionic/scss/_loading.scss: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Loading 4 | * -------------------------------------------------- 5 | */ 6 | 7 | .loading-container { 8 | position: absolute; 9 | left: 0; 10 | top: 0; 11 | right: 0; 12 | bottom: 0; 13 | 14 | z-index: $z-index-loading; 15 | 16 | @include display-flex(); 17 | @include justify-content(center); 18 | @include align-items(center); 19 | 20 | @include transition(0.2s opacity linear); 21 | visibility: hidden; 22 | opacity: 0; 23 | 24 | &:not(.visible) .icon, 25 | &:not(.visible) .spinner{ 26 | display: none; 27 | } 28 | &.visible { 29 | visibility: visible; 30 | } 31 | &.active { 32 | opacity: 1; 33 | } 34 | 35 | .loading { 36 | padding: $loading-padding; 37 | 38 | border-radius: $loading-border-radius; 39 | background-color: $loading-bg-color; 40 | 41 | color: $loading-text-color; 42 | 43 | text-align: center; 44 | text-overflow: ellipsis; 45 | font-size: $loading-font-size; 46 | 47 | h1, h2, h3, h4, h5, h6 { 48 | color: $loading-text-color; 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /www/lib/ionic/scss/_menu.scss: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Menus 4 | * -------------------------------------------------- 5 | * Side panel structure 6 | */ 7 | 8 | .menu { 9 | position: absolute; 10 | top: 0; 11 | bottom: 0; 12 | z-index: $z-index-menu; 13 | overflow: hidden; 14 | 15 | min-height: 100%; 16 | max-height: 100%; 17 | width: $menu-width; 18 | 19 | background-color: $menu-bg; 20 | 21 | .scroll-content { 22 | z-index: $z-index-menu-scroll-content; 23 | } 24 | 25 | .bar-header { 26 | z-index: $z-index-menu-bar-header; 27 | } 28 | } 29 | 30 | .menu-content { 31 | @include transform(none); 32 | box-shadow: $menu-side-shadow; 33 | } 34 | 35 | .menu-open .menu-content .pane, 36 | .menu-open .menu-content .scroll-content { 37 | pointer-events: none; 38 | } 39 | .menu-open .menu-content .scroll-content .scroll { 40 | pointer-events: none; 41 | } 42 | .menu-open .menu-content .scroll-content:not(.overflow-scroll) { 43 | overflow: hidden; 44 | } 45 | 46 | .grade-b .menu-content, 47 | .grade-c .menu-content { 48 | @include box-sizing(content-box); 49 | right: -1px; 50 | left: -1px; 51 | border-right: 1px solid #ccc; 52 | border-left: 1px solid #ccc; 53 | box-shadow: none; 54 | } 55 | 56 | .menu-left { 57 | left: 0; 58 | } 59 | 60 | .menu-right { 61 | right: 0; 62 | } 63 | 64 | .aside-open.aside-resizing .menu-right { 65 | display: none; 66 | } 67 | 68 | .menu-animated { 69 | @include transition-transform($menu-animation-speed ease); 70 | } 71 | -------------------------------------------------------------------------------- /www/lib/ionic/scss/_progress.scss: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Progress 4 | * -------------------------------------------------- 5 | */ 6 | 7 | progress { 8 | display: block; 9 | margin: $progress-margin; 10 | width: $progress-width; 11 | } 12 | -------------------------------------------------------------------------------- /www/lib/ionic/scss/_radio.scss: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Radio Button Inputs 4 | * -------------------------------------------------- 5 | */ 6 | 7 | .item-radio { 8 | padding: 0; 9 | 10 | &:hover { 11 | cursor: pointer; 12 | } 13 | } 14 | 15 | .item-radio .item-content { 16 | /* give some room to the right for the checkmark icon */ 17 | padding-right: $item-padding * 4; 18 | } 19 | 20 | .item-radio .radio-icon { 21 | /* checkmark icon will be hidden by default */ 22 | position: absolute; 23 | top: 0; 24 | right: 0; 25 | z-index: $z-index-item-radio; 26 | visibility: hidden; 27 | padding: $item-padding - 2; 28 | height: 100%; 29 | font-size: 24px; 30 | } 31 | 32 | .item-radio input { 33 | /* hide any radio button inputs elements (the ugly circles) */ 34 | position: absolute; 35 | left: -9999px; 36 | 37 | &:checked + .radio-content .item-content { 38 | /* style the item content when its checked */ 39 | background: #f7f7f7; 40 | } 41 | 42 | &:checked + .radio-content .radio-icon { 43 | /* show the checkmark icon when its checked */ 44 | visibility: visible; 45 | } 46 | } 47 | 48 | -------------------------------------------------------------------------------- /www/lib/ionic/scss/_slide-box.scss: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * Slide Box 4 | * -------------------------------------------------- 5 | */ 6 | 7 | .slider { 8 | position: relative; 9 | visibility: hidden; 10 | // Make sure items don't scroll over ever 11 | overflow: hidden; 12 | } 13 | 14 | .slider-slides { 15 | position: relative; 16 | height: 100%; 17 | } 18 | 19 | .slider-slide { 20 | position: relative; 21 | display: block; 22 | float: left; 23 | width: 100%; 24 | height: 100%; 25 | vertical-align: top; 26 | } 27 | 28 | .slider-slide-image { 29 | > img { 30 | width: 100%; 31 | } 32 | } 33 | 34 | .slider-pager { 35 | position: absolute; 36 | bottom: 20px; 37 | z-index: $z-index-slider-pager; 38 | width: 100%; 39 | height: 15px; 40 | text-align: center; 41 | 42 | .slider-pager-page { 43 | display: inline-block; 44 | margin: 0px 3px; 45 | width: 15px; 46 | color: #000; 47 | text-decoration: none; 48 | 49 | opacity: 0.3; 50 | 51 | &.active { 52 | @include transition(opacity 0.4s ease-in); 53 | opacity: 1; 54 | } 55 | } 56 | } 57 | 58 | //Disable animate service animations 59 | .slider-slide, 60 | .slider-pager-page { 61 | &.ng-enter, 62 | &.ng-leave, 63 | &.ng-animate { 64 | -webkit-transition: none !important; 65 | transition: none !important; 66 | } 67 | &.ng-animate { 68 | -webkit-animation: none 0s; 69 | animation: none 0s; 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /www/lib/ionic/scss/ionic.scss: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | 3 | @import 4 | // Ionicons 5 | "ionicons/ionicons.scss", 6 | 7 | // Variables 8 | "mixins", 9 | "variables", 10 | 11 | // Base 12 | "reset", 13 | "scaffolding", 14 | "type", 15 | 16 | // Components 17 | "action-sheet", 18 | "backdrop", 19 | "bar", 20 | "tabs", 21 | "menu", 22 | "modal", 23 | "popover", 24 | "popup", 25 | "loading", 26 | "items", 27 | "list", 28 | "badge", 29 | "slide-box", 30 | "slides", 31 | "refresher", 32 | "spinner", 33 | 34 | // Forms 35 | "form", 36 | "checkbox", 37 | "toggle", 38 | "radio", 39 | "range", 40 | "select", 41 | "progress", 42 | 43 | // Buttons 44 | "button", 45 | "button-bar", 46 | 47 | // Util 48 | "grid", 49 | "util", 50 | "platform", 51 | 52 | // Animations 53 | "animations", 54 | "transitions"; 55 | -------------------------------------------------------------------------------- /www/lib/ionic/scss/ionicons/_ionicons-font.scss: -------------------------------------------------------------------------------- 1 | // Ionicons Font Path 2 | // -------------------------- 3 | 4 | @font-face { 5 | font-family: $ionicons-font-family; 6 | src:url("#{$ionicons-font-path}/ionicons.eot?v=#{$ionicons-version}"); 7 | src:url("#{$ionicons-font-path}/ionicons.eot?v=#{$ionicons-version}#iefix") format("embedded-opentype"), 8 | url("#{$ionicons-font-path}/ionicons.ttf?v=#{$ionicons-version}") format("truetype"), 9 | url("#{$ionicons-font-path}/ionicons.woff?v=#{$ionicons-version}") format("woff"), 10 | url("#{$ionicons-font-path}/ionicons.woff") format("woff"), /* for WP8 */ 11 | url("#{$ionicons-font-path}/ionicons.svg?v=#{$ionicons-version}#Ionicons") format("svg"); 12 | font-weight: normal; 13 | font-style: normal; 14 | } 15 | 16 | .ion { 17 | display: inline-block; 18 | font-family: $ionicons-font-family; 19 | speak: none; 20 | font-style: normal; 21 | font-weight: normal; 22 | font-variant: normal; 23 | text-transform: none; 24 | text-rendering: auto; 25 | line-height: 1; 26 | -webkit-font-smoothing: antialiased; 27 | -moz-osx-font-smoothing: grayscale; 28 | } 29 | -------------------------------------------------------------------------------- /www/lib/ionic/scss/ionicons/ionicons.scss: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | @import "ionicons-variables"; 3 | /*! 4 | Ionicons, v2.0.1 5 | Created by Ben Sperry for the Ionic Framework, http://ionicons.com/ 6 | https://twitter.com/benjsperry https://twitter.com/ionicframework 7 | MIT License: https://github.com/driftyco/ionicons 8 | 9 | Android-style icons originally built by Google’s 10 | Material Design Icons: https://github.com/google/material-design-icons 11 | used under CC BY http://creativecommons.org/licenses/by/4.0/ 12 | Modified icons to fit ionicon’s grid from original. 13 | */ 14 | 15 | @import "ionicons-font"; 16 | @import "ionicons-icons"; 17 | -------------------------------------------------------------------------------- /www/lib/ionic/version.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.2.4", 3 | "codename": "", 4 | "date": "2016-01-03", 5 | "time": "19:55:51" 6 | } 7 | -------------------------------------------------------------------------------- /www/lib/ngCordova/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ngCordova", 3 | "version": "0.1.24-alpha", 4 | "homepage": "http://ngCordova.com/", 5 | "authors": [ 6 | "Max Lynch ", 7 | "Paolo Bernasconi ", 8 | "Chad Campbell " 9 | ], 10 | "description": "AngularJS Cordova wrappers for common Cordova plugins.", 11 | "main": [ 12 | "./dist/ng-cordova.js" 13 | ], 14 | "ignore": [ 15 | "**/.*", 16 | "gulpfile.js", 17 | "test", 18 | "src", 19 | "config", 20 | "demo", 21 | "CONTRIBUTING.md", 22 | "CODE_OF_CONDUCT.md" 23 | ], 24 | "dependencies": { 25 | "angular": ">= 1.2.23" 26 | }, 27 | "keywords": [ 28 | "ngCordova", 29 | "ng-cordova", 30 | "ngcordova", 31 | "ng cordova", 32 | "cordova", 33 | "phonegap", 34 | "angular", 35 | "angularjs", 36 | "ionic", 37 | "cordova plugin" 38 | ], 39 | "license": "MIT", 40 | "private": false, 41 | "devDependencies": { 42 | "angular": ">= 1.2.23", 43 | "angular-mocks": ">= 1.2.23", 44 | "jquery": "~2.1.1" 45 | }, 46 | "_release": "0.1.24-alpha", 47 | "_resolution": { 48 | "type": "version", 49 | "tag": "v0.1.24-alpha", 50 | "commit": "9de37ab18b41cc5d03b74148306372d408bfcbb0" 51 | }, 52 | "_source": "git://github.com/driftyco/ng-cordova.git", 53 | "_target": "^0.1.24-alpha", 54 | "_originalSource": "ngCordova", 55 | "_direct": true 56 | } -------------------------------------------------------------------------------- /www/lib/ngCordova/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | Please refer to the [Github ngCordova Releases file](https://github.com/driftyco/ng-cordova/releases) for detailed information. 2 | -------------------------------------------------------------------------------- /www/lib/ngCordova/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Drifty 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 all 13 | 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 THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /www/lib/ngCordova/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ngCordova", 3 | "version": "0.1.24-alpha", 4 | "homepage": "http://ngCordova.com/", 5 | "authors": [ 6 | "Max Lynch ", 7 | "Paolo Bernasconi ", 8 | "Chad Campbell " 9 | ], 10 | "description": "AngularJS Cordova wrappers for common Cordova plugins.", 11 | "main": [ 12 | "./dist/ng-cordova.js" 13 | ], 14 | "ignore": [ 15 | "**/.*", 16 | "gulpfile.js", 17 | "test", 18 | "src", 19 | "config", 20 | "demo", 21 | "CONTRIBUTING.md", 22 | "CODE_OF_CONDUCT.md" 23 | ], 24 | "dependencies": { 25 | "angular": ">= 1.2.23" 26 | }, 27 | "keywords": [ 28 | "ngCordova", 29 | "ng-cordova", 30 | "ngcordova", 31 | "ng cordova", 32 | "cordova", 33 | "phonegap", 34 | "angular", 35 | "angularjs", 36 | "ionic", 37 | "cordova plugin" 38 | ], 39 | "license": "MIT", 40 | "private": false, 41 | "devDependencies": { 42 | "angular": ">= 1.2.23", 43 | "angular-mocks": ">= 1.2.23", 44 | "jquery": "~2.1.1" 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /www/lib/ngCordova/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ng-cordova", 3 | "private": false, 4 | "main": "dist/ng-cordova", 5 | "version": "0.1.24-alpha", 6 | "repository": { 7 | "url": "git://github.com/driftyco/ng-cordova.git" 8 | }, 9 | "devDependencies": { 10 | "gulp": "^3.7.0", 11 | "gulp-concat": "^2.2.0", 12 | "gulp-footer": "^1.0.4", 13 | "gulp-header": "^1.0.2", 14 | "gulp-jscs": "^1.6.0", 15 | "gulp-jshint": "^1.6.1", 16 | "gulp-prettify": "^0.3.0", 17 | "gulp-rename": "^1.2.0", 18 | "gulp-shell": "^0.2.10", 19 | "gulp-uglify": "^0.2.1", 20 | "jshint-stylish": "^0.4.0", 21 | "karma": "^0.12.16", 22 | "karma-chrome-launcher": "~0.1.2", 23 | "karma-coverage": "~0.2.6", 24 | "karma-jasmine": "~0.1.5", 25 | "karma-phantomjs-launcher": "~0.1.2", 26 | "minimist": "^0.1.0" 27 | }, 28 | "licenses": [ 29 | { 30 | "type": "MIT" 31 | } 32 | ], 33 | "scripts": { 34 | "test": "gulp lint && gulp karma --browsers=PhantomJS --reporters=progress" 35 | }, 36 | "dependencies": { 37 | "conventional-changelog": "0.0.11", 38 | "fs": "0.0.2", 39 | "gulp-git": "^1.2.4", 40 | "q": "^1.1.2" 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /www/lib/requirejs/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "requirejs", 3 | "version": "2.1.22", 4 | "ignore": [], 5 | "homepage": "http://requirejs.org", 6 | "authors": [ 7 | "jrburke.com" 8 | ], 9 | "description": "A file and module loader for JavaScript", 10 | "main": "require.js", 11 | "keywords": [ 12 | "AMD" 13 | ], 14 | "license": [ 15 | "BSD-3-Clause", 16 | "MIT" 17 | ], 18 | "_release": "2.1.22", 19 | "_resolution": { 20 | "type": "version", 21 | "tag": "2.1.22", 22 | "commit": "9cd0b99417eac61e890d11c5119f2e45e752c999" 23 | }, 24 | "_source": "git://github.com/jrburke/requirejs-bower.git", 25 | "_target": "^2.1.22", 26 | "_originalSource": "requirejs", 27 | "_direct": true 28 | } -------------------------------------------------------------------------------- /www/lib/requirejs/README.md: -------------------------------------------------------------------------------- 1 | # requirejs-bower 2 | 3 | Bower packaging for [RequireJS](http://requirejs.org). 4 | 5 | -------------------------------------------------------------------------------- /www/lib/requirejs/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "requirejs", 3 | "version": "2.1.22", 4 | "ignore": [], 5 | "homepage": "http://requirejs.org", 6 | "authors": [ 7 | "jrburke.com" 8 | ], 9 | "description": "A file and module loader for JavaScript", 10 | "main": "require.js", 11 | "keywords": [ 12 | "AMD" 13 | ], 14 | "license": [ 15 | "BSD-3-Clause", 16 | "MIT" 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /www/sass/_register.scss: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | 3 | .button-back { 4 | align-self: center; 5 | font-size: xx-large; 6 | } 7 | .register-content { 8 | margin-top: dp(20); 9 | padding:0 dp(20); 10 | width:100%; 11 | .button-verification-code { 12 | background-color: #e33d3c; 13 | color: #fff; 14 | border-radius: 5px; 15 | padding: dp(10); 16 | } 17 | .text { 18 | color: #999; 19 | font-size: dp(22); 20 | } 21 | .link-text { 22 | color: #1974ad; 23 | font-size: dp(22); 24 | text-decoration: none; 25 | } 26 | } -------------------------------------------------------------------------------- /www/templates/add.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
7 | 14 | 21 |
22 |
23 | -------------------------------------------------------------------------------- /www/templates/addPost.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 5 |
6 | 7 | 12 |
13 | 14 | 15 |
16 |
  分享至:
17 |
18 |
19 |
小组
20 |
小天
21 |
小米
22 |
23 |
24 | 25 | 26 |
  插入信息:
27 |
28 |
29 |
符号
30 |
图片
31 |
表情
32 |
字体
33 |
34 |
35 |
36 |
37 |
38 | -------------------------------------------------------------------------------- /www/templates/content-mine.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 5 |
6 |
7 |
8 | 9 |
10 |
11 | 12 |
13 |
14 | 15 |
16 |
17 | 18 |
19 |
20 | 21 |
22 |
23 |
24 | 25 | 26 |

27 | 28 | 邀请规则协议文档... 29 | 30 | 31 | 邀请规则协议文档协议文档... 32 | 33 | 34 | 用户须知协议文档... 35 | 36 | 37 | 邀请规则协议文档... 38 | 39 | 40 | 隐私政策协议文档... 41 | 42 | 43 | 其他内容 44 | 45 |

46 |
47 |
-------------------------------------------------------------------------------- /www/templates/createGroup.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 5 |
6 | 7 |
8 | 9 | 10 |
11 |
12 |
13 | 16 |
17 |
18 |
19 | 20 |
21 |
22 |

选择类型

23 |
24 |
25 | 26 | 秘密 27 | 公开 28 | 29 |
30 | 33 |
34 |
35 |
36 | -------------------------------------------------------------------------------- /www/templates/friendDetail.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 5 |
6 | 7 |
8 | 9 | 10 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /www/templates/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
5 | 6 |
7 |
8 | 9 |
10 |
11 |
12 | 注册 13 | 15 | 18 | -------------------------------------------------------------------------------- /www/templates/location.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 5 |
6 | 7 |
8 | 9 | 10 |
11 |
12 | 13 | 14 |

{{item.n}}

15 |
16 |
17 |
18 |
19 | 20 |
-------------------------------------------------------------------------------- /www/templates/message.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

mike的消息

10 |

准备吃饭了...

11 | 12 | 13 | 删除 14 | 15 |
16 | 17 | 18 |

天翼足球协会

19 |

发布了一个新活动

20 | 21 | 22 | 删除 23 | 24 |
25 | 26 | 27 |

mike的消息

28 |

发布了一个新帖子

29 | 30 | 31 | 删除 32 | 33 |
34 |
35 |
36 |
37 | -------------------------------------------------------------------------------- /www/templates/mine.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

mike

10 |

编辑个人资料

11 | 12 |
13 | 14 | 15 | 我的发帖 16 | 100 17 | 18 | 19 | 20 | 我的活动 21 | 100 22 | 23 | 24 | 25 | 设置 26 | 27 |
28 |
29 |
-------------------------------------------------------------------------------- /www/templates/myact.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 5 |
6 | 7 | 12 |
13 | 14 | 15 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /www/templates/mypost.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 5 |
6 | 7 | 12 |
13 | 14 | 15 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /www/templates/protocolText.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 5 |
6 | 7 |
8 | 9 | 10 | 协议内容 11 | 12 | 13 | 14 |
15 |
-------------------------------------------------------------------------------- /www/templates/search.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 5 |
6 | 7 | 8 | 9 | 搜索 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 |
-------------------------------------------------------------------------------- /www/templates/set.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 5 |
6 | 7 |
8 | 9 | 10 |
11 | 12 | 关于我们 13 | 14 | 15 | 16 | 用户须知 17 | 18 | 19 | 20 | 用户协议 21 | 22 | 23 | 24 | 隐私政策 25 | 26 | 27 |
28 | 29 |
30 |
-------------------------------------------------------------------------------- /www/templates/tabs.html: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /www/templates/userText.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 5 |
6 | 7 |
8 | 9 | 10 | 协议内容..... 11 | 12 | 13 | 14 |
15 |
--------------------------------------------------------------------------------