Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
2590e7f
Add Stormpath class with Builder for configuration
Feb 10, 2016
c5210de
Add .travis.yml
Feb 10, 2016
1a41c06
Remove duplicate default paths
Feb 10, 2016
1cd8d1d
Move configuration to separate class, add platform abstractions
Feb 10, 2016
6b6a173
Fix missing android annotation in javadoc task classpath
Feb 10, 2016
0fec19a
Downgrade lint issue InvalidPackage to warning
Feb 10, 2016
3df9140
Update OkHttp version to 3.1.2 to get fix for cert pinning vulnerability
Feb 11, 2016
cd5f6ef
Add remaining public facing stormpath methods, implement preference s…
Feb 11, 2016
6970f30
Implement getting of accessToken
Feb 11, 2016
1c4df22
Implement login call
Feb 11, 2016
c6bb487
Add test infrastructure, login tests
Feb 11, 2016
1b72be6
Implement register functionality with tests
Feb 12, 2016
b6164f7
Implement refreshing token with tests
Feb 15, 2016
e5cb8a1
Add tests for login and register requests, fix wrong url used
Feb 15, 2016
80321bf
Implement logout, add accept header to requests
Feb 15, 2016
7957345
Implement reset password functionality
Feb 15, 2016
8687992
Implement fetching user profile
Feb 15, 2016
87b0db9
Add custom path tests
Feb 15, 2016
81f6170
Add internet permission
Feb 15, 2016
dd9a22a
Fix setting loglevel after initializing stormpath
Feb 15, 2016
9c8c261
Fix loglevel check
Feb 15, 2016
22aa210
Add docs, remove unused code
Feb 16, 2016
87b9884
Fix typo
Feb 16, 2016
06f023f
Add usage instructions
Feb 16, 2016
2d45fc7
Make logout always succeed
Feb 16, 2016
e6b152c
Rename module
Feb 16, 2016
36472e1
Add test coverage via coveralls
Feb 17, 2016
330eb51
Add usage for token refresh
Feb 17, 2016
a78d4fe
Add example app as another module
Feb 17, 2016
d4b308a
Remove generated instrumentation test
Feb 17, 2016
33921b9
Implement verifying email
Feb 19, 2016
f60ad20
Implement resending verification email
Feb 19, 2016
03f98bc
Add usage instructions for email verification
Feb 19, 2016
580fc28
Add content type asserts for requests
Feb 19, 2016
b95f60f
Add proguard rules
Feb 19, 2016
cbcf1dd
Rename sdk module for clarity
Feb 19, 2016
44bcdff
Set maven artifact id explicitly
Feb 19, 2016
bcdfbd7
Get version from git tag rather than hardcoded
Feb 19, 2016
903e394
Add deploy archive signing
Feb 19, 2016
f9eb2b1
Set bintray userOrg
Feb 20, 2016
dc10d8a
Add encrypted bintray user and api key
Feb 20, 2016
8fd71f0
added passphrase for GPG key
dogeared Feb 20, 2016
322baf4
Add stormpath java team manifest
Feb 20, 2016
e34b9f7
Document loglevels
Feb 20, 2016
acc1765
Add version to API url in test and usage example
Feb 20, 2016
f3bd5c0
Remove generated example unit test
Feb 21, 2016
b5d3a64
Change custom data type to Map<String, Object>
Feb 21, 2016
30b7928
Add info about working against express only
Feb 21, 2016
6a5feee
Remove duplication in building headers
Feb 21, 2016
14e509e
Remove unused methods
Feb 22, 2016
20a573d
Add tests for preference store and logging
Feb 22, 2016
bb1e3bf
Add more configuration tests
Feb 22, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
146 changes: 146 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@

# Created by https://www.gitignore.io/api/intellij,gradle,android,osx,linux

### Intellij ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm

*.iml

## Directory-based project format:
.idea/
# if you remove the above rule, at least ignore the following:

# User-specific stuff:
# .idea/workspace.xml
# .idea/tasks.xml
# .idea/dictionaries
# .idea/shelf

# Sensitive or high-churn files:
# .idea/dataSources.ids
# .idea/dataSources.xml
# .idea/sqlDataSources.xml
# .idea/dynamic.xml
# .idea/uiDesigner.xml

# Gradle:
# .idea/gradle.xml
# .idea/libraries

# Mongo Explorer plugin:
# .idea/mongoSettings.xml

## File-based project format:
*.ipr
*.iws

## Plugin-specific files:

# IntelliJ
/out/

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Crashlytics plugin (for Android Studio and IntelliJ)
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties


### Gradle ###
.gradle
build/

# Ignore Gradle GUI config
gradle-app.setting

# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar

# Cache of project
.gradletasknamecache


### Android ###
# Built application files
*.apk
*.ap_

# Files for the Dalvik VM
*.dex

# Java class files
*.class

# Generated files
bin/
gen/

# Gradle files
.gradle/
build/

# Local configuration file (sdk path, etc)
local.properties

# Proguard folder generated by Eclipse
proguard/

# Log Files
*.log

# Android Studio Navigation editor temp files
.navigation/

# Android Studio captures folder
captures/

### Android Patch ###
gen-external-apklibs


### OSX ###
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk


### Linux ###
*~

# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

55 changes: 55 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
language: android

env:
global:
- CI_NAME=travis-ci
# coveralls repo token
- secure: Q4dXi7tRbW3ilrZD0uxVTJLoFx4azlGWvdk5GsVkEfFxfMpb0PCV03KgrzReBhCaYC+uN8bkF80aGv0KlVcbrZtmRAVCGDcK8fbP6q8t9l1/YWTeO6i/Pgbri8h7ozrtUtlCv+5c2liBdjwNM6XVI597+VOl1GzAw/5UWqrDCAOin0Ev/JccVLU6/4hJfDGN1Ek/S2UpqozbUNHBYUHHDKqLMud4QhnklIMUHubOT/hBAcS5qZaARoBo7tc0goBry+1LAUrsPSv5mebyq7c2blr3VlrlVxNdfQearDQ6RZB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Xa9aoYGYdDxpY6fGeTqePyjQP9vbK4/fBb2EM3Qh7dXuElpxq95VNxAYpCOEJ2I4PhC5Za4lcqcRSLJ5l9fe3NPYB+v+Lg98LKtUDmtmUort6vMedsYpoeiI1rdMfAEcpAiRhbnGdQdTW2dPlxtQlMnLxqAR1+u52m5tYj7kvJKRO5e9TvKKP7XdMP3Wqi1gvM14nInrvwyIEIJAx0yzRiA6yh6StQtIZ1ATof2vg0vLBEfFGENMXI5dDGPWK+lP0CBZrnU6Fxo1BXXgslm7K2puHeaDuVKdvEm8BPViuC+gkZp/GXgI1il6An7dpM=

android:
components:
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
- platform-tools
- tools

# The BuildTools version used by your project
- build-tools-23.0.2

# The SDK version used to compile your project
- android-23

# Additional components
# - extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
# - addon-google_apis-google-23

# Specify at least one system image,
# if you need to run emulator(s) during your tests
# - sys-img-armeabi-v7a-android-19
# - sys-img-x86-android-17

after_success:
- ./gradlew cobertura coveralls

before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock

cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/

deploy:
provider: script
script: sh $TRAVIS_BUILD_DIR/deploy.sh
skip_cleanup: true
on:
tags: true
Loading