Skip to content
This repository has been archived by the owner on Oct 16, 2018. It is now read-only.

Commit

Permalink
Merge develop on to master (#72)
Browse files Browse the repository at this point in the history
* - Removed unused RetrofitClient
- Adding dagger set up for networking and applicaiton for a more tidy way of arranging dependencies and scoping

* - Clean up whitespace in network module

* - Creating a separate Episode post network service

* - Adding autovalue and gson type adapters for deserialisation
- Base unit tests for parsing json responses

* - Adding new AuthNetworkService for handling authentication requests
- Base json test re-work
- Firebase analytics

* - Adding AuthNetworkService to network module

* - Basepreference with common operations implemented
- AuthPreference to  handle storage of user token
- Updating unit test arch to utliise the application component for dependency delivery/mocking

* - Adding test for getting a token from shared prefs

* - Added convenience check for user logged in
- Text utils class added to replicate common android text operations for easier mocking/testing

* - Updated post response with upvote/downvote fields

* - Implementing post item and mapper between response and post item

* - PostRepository implementation for fetching posts
- Separating each request in to distinct calls rather than handling query params
- Okhttp interceptor will now add the user token if there's one present in AuthPreference

* - User repo implemented to perform login and registration operations
- Adding sample error responses for further testing

* - Adding a login check to user repository
- Error response object for deserialization

* - Adding presentation package containing the components for MVP
- Base View and Presenter contracts and classes added
- WIP login presenter and main activity presenter

* - Adding presentation package containing the components for MVP
- Base View and Presenter contracts and classes added
- WIP login presenter and main activity presenter

* - Added BasePresenterUnitTest to be extended for any presenter testing
- Adding preliminary tests for login presenter

* - Adding a PresenterCache to persist presenters for events such as configuration changes. (Derived from https://github.com/Syex/mvp_with_dagger)

* - Updating login/registration as a dialog rather than a separate activity
- Using lifecycle-aware the android ViewModel class to handle presenter lifetimes during configuration changes
- Creating a base dialogfragment class to handle the common MVP features (to be replicated for fragments/activities)
- Adding SDE logo
- Library updates

* - Updating field validation for login and registration
- Attempting to standardise syncronised tests for rx operations
- Adding android codstyle

* - Adding prototype handling for http errors (will need to extract as a separate class)
- Toast message for showing http error messages
- Fixing single-threaded rule for rx tests

*  - Enabling login toggle once registration flow finishes.

* - More tests for login/registration

* - Base Fragment and Base Activity classes added
- Updates to view binding order for dialog fragment

* - Resetting login/registration invocation to default for now.

* Added square android lint and fixed accessibility errors

* Fixed many lint errors

* Fixed spelling

* More spelling

* Added final

* Added playback control

* Added initial download task

* fixed git ignore

* fixed git

* Added file play

* Create README.md

Update README.md

* - Removed duplicate string values

* Added initial page load back

* - Removing redundant application class and migrating to SDEApp

* - Moving LeakCanary initialisation to start before the rest of the other steps

* Update .gitignore to be much more comprehensive.

* Fix play button not properly pausing.

Current media ID wasn't being set after playing a podcast.

* Rename variable to be more descriptive

* Added debug build fto separate compile name

* - Separating dependency versions for easier managment.

* Fix merge conflicts. (#30)

* Login toggle fix (#49)

* Fixed some butterknife issues

* Renabled login button on error

* Various small fixes (#50)

* Updated package name

* Replaced to ?attr/actionBarSize

* Made links clickable

* Added open source info

* Analytics Facade (#44)

* - Analytics facade to encapsulate Firebase analytics events

* - Updating up/down vote actions to return a completable since we're not expecting a response
- Adding tests for Analytics facade usage

* Create issue_template.md

* Various fixes (#56)

* Added some leak checks

* Added new launcher icons

* Fixed icon alignment

* Add tab icons

* Feature/android studio 3.0 update (#51)

* - Updating gradle plugin to release version
- Ignoring generated files

* - Target SDK now 26
- Version bumps in architecture components

* - Adding google services version bump

* Download notifications (#57)

* Added remove download

* Added notification progress

* Removed title from detail view

* Made downloading reactive

* Added speed increase (#60)

* added license

* Fix the rendering of a podcast detail (#64) (#68)

Use a WebView instead of a TextView for rendering
the podcast information.

* Travis (#70)

* Added initial travis

* Remove emulator

* Fixed gradlew permission

* Updated travis

* Fixed indent

* Fixed indent

* Removed extra tools

* Updated build tools

* Revered gradle build

* Added license

* - Adding stubbed google-services.json file to fulfill requirement for travis (#62)

* Adding build status badge to develop branch

* - Architecture components version bump & gradle api update (#65)

* - Architecture components version bump
- Updating dependency configurations to the new gradle api - https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html#new_configurations

* Updated to Java target version 8

* Feature/kotlin support (#61)

* - Adding kotlin dependencies for both main and testing

* - Adding kotlin annotation processor
- Updating compile options to target Java 8

* - Architecture components version bump
- Updating dependency configurations to the new gradle api - https://developer.android.com/studio/build/gradle-plugin-3-0-0-migration.html#new_configurations

* Updated to Java target version 8

* Added skeleton loading and fixed null checks (#66)

* Added skeleton loading and fixed null checks

* Added null mp3 check

* Added travis

* Updated media notification

* Fixed is download check

* Style updates

* Added crashlytics

* Added controller null check

* Updated speed lifecycle

* Added catch and log for small supported speed
  • Loading branch information
TheHollidayInn authored Nov 24, 2017
1 parent 6cf78ff commit fed8d67
Show file tree
Hide file tree
Showing 177 changed files with 7,180 additions and 1,404 deletions.
187 changes: 179 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,181 @@
app/app-release.apk
app/google-services.json

### Android ###

# Generated files
bin/
gen/
out/
app/release/

# 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/

# Intellij
*.iml
.gradle
/local.properties
/.idea/workspace.xml
/.idea/libraries
.DS_Store
/build
/captures
.idea/*
# External native build folder generated in Android Studio 2.2 and later
.externalNativeBuild
app/

# Freeline
freeline.py
freeline/
freeline_project_description.json

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

# Signing files
.signing/

# Local configuration file (sdk path, etc)

# Proguard folder generated by Eclipse

# Log Files

# Android Studio
/*/local.properties
/*/out
/*/*/build
/*/*/production
*.ipr
*~
*.swp

# IntelliJ IDEA
*.iws
/out/

# OS-specific files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Legacy Eclipse project files
.classpath
.project

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.war
*.ear

# virtual machine crash logs (Reference: http://www.java.com/en/download/help/error_hotspot.xml)
hs_err_pid*

## Plugin-specific files:

# mpeltonen/sbt-idea plugin
.idea_modules/

# JIRA plugin
atlassian-ide-plugin.xml

# Mongo Explorer plugin

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

### AndroidStudio Patch ###

!/gradle/wrapper/gradle-wrapper.jar

### Java ###
# Compiled class file

# Log file

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)

# Package Files #
*.jar
*.zip
*.tar.gz
*.rar

### 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-*

# .nfs files are created when an open file is removed but is still being accessed
.nfs*

### macOS ###
*.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.TemporaryItems
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

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

### Windows ###
# Windows thumbnail cache files
ehthumbs_vista.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk
app/src/main/res/raw/third_party_license_metadata
app/src/main/res/raw/third_party_licenses
Loading

0 comments on commit fed8d67

Please sign in to comment.