Commit b1473f9a authored by root's avatar root

first commit

parents
# Definitively text files
*.TXT text
*.bat text
*.cms text
*.config text
*.crt text
*.css text
*.csv text
*.editfrom text
*.hdf text
*.htm text
*.html text
*.ini text
*.java text
*.js text
*.log text
*.php text
*.plist text
*.pre text
*.properties text
*.sh text
*.sql text
*.tpl text
*.txt text
*.xml text
*.xsd text
# Ensure those won't be messed up with
*.class binary
*.dat binary
*.db binary
*.dll binary
*.exe binary
*.gif binary
*.ico binary
*.jar binary
*.jpg binary
*.swf binary
*.tar binary
*.tcp binary
*.ttf binary
*.wav binary
*.zip binary
*.lcd binary
*.mp3 binary
*.mp4 binary
*.png binary
*.xap binary
*.rws binary
*.multi binary
*.mf binary
*.kbd binary
*.aiml binary
*.alias binary
# Autodetect remaining text files
* text=auto
; Similar to stuff defined in sources/files.php, but defined in terms of what we want never to be in git
/www.pid
/.htaccess
.DS_Store
*.lcd
*.tcp
*.tcd
*.gcd
templates_cached
data_custom/*log.php
/exports
/imports
data_custom/modules/chat/*.dat
data_custom/modules/admin_stats/*.xml
/ocp_sitemap.xml
/*.clpprj
data_custom/latest_activity.txt
/subs.inc
/hphp-static-cache
/hphp.files.list
/hphp
/*.scm
/*.heap
/*.sch
/*.dll
/*.fcgi
tmpfile__*
*.tmp
/_vti*
*.log
error_log
thumbs.db
thumbs.db:encrypted
.ds_store
_old
gibb
gibberish
/bingsiteauth.xml
php.ini
/*.shtml
/.project
; These files should be banned for the main ocPortal dev repository but not for ocP projects
.idea
cron.yaml
/data_custom/modules/google_appengine/*
dos.yaml
queue.yaml
/iirf.ini
docs/api
*test.png
/info.php
/_config.php
/uploads
; themes/[abcefghijklmnopqrstuvwxyz0123456789]*
*.[1234567890]*
comcode_custom
html_custom
spelling
themes/default/images_custom/*logo.png
_tests/codechecker/functions.dat
/if_hosted_service.txt
/.htpasswd
/robots.txt
/closed.html
/closed.html.old
/sites
data_custom/modules/user_export/out.csv
;android
android/bin/*
android/gen/*
;android_sample
android_sample/bin/*
android_sample/gen/*
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="lib" path="libs/com.fasterxml.jackson.core.jar"/>
<classpathentry kind="lib" path="libs/com.fasterxml.jackson.databind.jar"/>
<classpathentry exported="true" kind="lib" path="libs/commons-io-2.4.jar"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>CMS_SDK</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.source=1.6
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.ocproducts.composr.sdk"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="19" />
<!-- GCM connects to Internet Services. -->
<uses-permission android:name="android.permission.INTERNET" />
<!-- GCM requires a Google account. -->
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<!-- Keeps the processor from sleeping when a message is received. -->
<uses-permission android:name="android.permission.WAKE_LOCK" />
<!-- This app has permission to register and receive data message. -->
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<!-- Network State Permissions to detect Internet status -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<!-- Permission to vibrate -->
<uses-permission android:name="android.permission.VIBRATE" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<uses-library android:name="android.test.runner" />
<activity
android:name="com.ocproducts.composr.sdk.CMS_LoginActivity"
android:label="@string/title_activity_cms_login"
android:exported="true" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.ocproducts.composr.sdk.CMS_SignupActivity"
android:label="@string/title_activity_cms__signup"
android:exported="true" >
</activity>
<activity
android:name="com.ocproducts.composr.sdk.CMS_PasswordResetActivity"
android:label="@string/title_activity_cms__password_reset"
android:exported="true" >
</activity>
<activity
android:name="com.ocproducts.composr.sdk.CMS_ContactActivity"
android:label="@string/title_activity_cms__contact"
android:exported="true" >
</activity>
<activity
android:name="com.ocproducts.composr.sdk.rss.FeedListActivity"
android:label="@string/title_activity_feed_list"
android:exported="true" >
</activity>
<activity
android:name="com.ocproducts.composr.sdk.rss.FeedDetail"
android:label="@string/title_activity_feed_detail"
android:exported="true" >
</activity>
<receiver
android:name="com.google.android.gcm.GCMBroadcastReceiver"
android:permission="com.google.android.c2dm.permission.SEND" >
<intent-filter>
<!-- Receives the actual messages. -->
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<!-- Receives the registration id. -->
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
</intent-filter>
</receiver>
<service android:name="com.ocproducts.composr.sdk.GCMIntentService" />
</application>
<instrumentation android:name="android.test.InstrumentationTestRunner"
android:targetPackage="com.ocproducts.composr.sdk" android:label="Tests for My App" />
</manifest>
# To enable ProGuard in your project, edit project.properties
# to define the proguard.config property as described in that file.
#
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in ${sdk.dir}/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the ProGuard
# include property in project.properties.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system edit
# "ant.properties", and override values to adapt the script to your
# project structure.
#
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target.
target=android-22
android.library=true
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.ocproducts.composr.sdk.CMS_ContactActivity" >
<EditText
android:id="@+id/txtSubject"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="22dp"
android:ems="10"
android:hint="@string/contact_subject_hint" >
<requestFocus />
</EditText>
<EditText
android:id="@+id/txtEmail"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/txtSubject"
android:layout_below="@+id/txtSubject"
android:layout_marginTop="39dp"
android:ems="10"
android:inputType="textEmailAddress"
android:hint="@string/contact_email_hint" />
<EditText
android:id="@+id/txtMessage"
android:layout_width="wrap_content"
android:layout_height="100dp"
android:layout_alignLeft="@+id/txtEmail"
android:layout_centerVertical="true"
android:ems="10"
android:hint="@string/contact_message_hint"
android:inputType="textMultiLine" />
<Button
android:id="@+id/btnSave"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="61dp"
android:text="@string/contact_saveBtn_text" />
</RelativeLayout>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.ocproducts.composr.sdk.CMS_LoginActivity" >
<EditText
android:id="@+id/username"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_marginTop="31dp"
android:gravity="center_horizontal"
android:hint="@string/login_username_hint"
android:text="" />
<EditText
android:id="@+id/password"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/username"
android:layout_below="@+id/username"
android:layout_marginTop="30dp"
android:gravity="center_horizontal"
android:hint="@string/login_password_hint"
android:text=""
android:inputType="textPassword" />
<Button
android:id="@+id/loginBtn"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/password"
android:layout_centerHorizontal="true"
android:layout_marginTop="56dp"
android:text="@string/login_loginBtn_text" />
<Button
android:id="@+id/signupBtn"
style="?android:attr/buttonStyleSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/loginBtn"
android:layout_centerHorizontal="true"
android:layout_marginTop="18dp"
android:text="@string/login_signupBtn_text" />
</RelativeLayout>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.ocproducts.composr.sdk.CMS_PasswordResetActivity" >
<EditText
android:id="@+id/txtEmail"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="40dp"
android:ems="10"
android:inputType="textEmailAddress"
android:hint="@string/forgotPassword_email_hint" >
<requestFocus />
</EditText>
<Button
android:id="@+id/btnSubmit"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/txtEmail"
android:layout_below="@+id/txtEmail"
android:layout_marginTop="98dp"
android:text="@string/forgotPassword_submitBtn_text" />
<Button
android:id="@+id/btnCancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@+id/btnSubmit"
android:layout_alignBottom="@+id/btnSubmit"
android:layout_alignRight="@+id/txtEmail"
android:text="@string/forgotPassword_cancelBtn_text" />
</RelativeLayout>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.ocproducts.composr.sdk.CMS_SignupActivity" >
<EditText
android:id="@+id/txtUsername"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginTop="22dp"
android:ems="10"
android:hint="@string/signup_username_hint" >
<requestFocus />
</EditText>
<EditText
android:id="@+id/txtPassword"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/txtConfirmPassword"
android:layout_below="@+id/txtUsername"
android:ems="10"
android:hint="@string/signup_password_hint"
android:inputType="textPassword" />
<EditText
android:id="@+id/txtConfirmPassword"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/txtPassword"
android:layout_centerHorizontal="true"
android:ems="10"
android:hint="@string/signup_confirmPassword_hint"
android:inputType="textPassword" />
<EditText
android:id="@+id/txtEmail"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/txtUsername"
android:layout_below="@+id/txtConfirmPassword"
android:ems="10"
android:hint="@string/signup_email_hint"
android:inputType="textEmailAddress" />
<EditText
android:id="@+id/txtConfirmEmail"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignRight="@+id/txtConfirmPassword"
android:layout_below="@+id/txtEmail"
android:ems="10"
android:hint="@string/signup_confirmEmail_hint"
android:inputType="textEmailAddress" />
<EditText
android:id="@+id/txtDOB"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/txtConfirmEmail"
android:layout_below="@+id/txtConfirmEmail"
android:ems="10"
android:hint="@string/signup_dob_hint"
android:inputType="date" />
<Button
android:id="@+id/btnSignup"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/txtConfirmPassword"
android:layout_alignParentBottom="true"
android:text="@string/signup_signupBtn_text" />
<Button
android:id="@+id/btnCancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@+id/btnSignup"