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

Commit fed8d67

Browse files
Merge develop on to master (#72)
* - 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
1 parent 6cf78ff commit fed8d67

File tree

177 files changed

+7180
-1404
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+7180
-1404
lines changed

.gitignore

Lines changed: 179 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,181 @@
1+
app/app-release.apk
2+
app/google-services.json
3+
4+
### Android ###
5+
6+
# Generated files
7+
bin/
8+
gen/
9+
out/
10+
app/release/
11+
12+
# Gradle files
13+
.gradle/
14+
build/
15+
16+
# Local configuration file (sdk path, etc)
17+
local.properties
18+
19+
# Proguard folder generated by Eclipse
20+
proguard/
21+
22+
# Log Files
23+
*.log
24+
25+
# Android Studio Navigation editor temp files
26+
.navigation/
27+
28+
# Android Studio captures folder
29+
captures/
30+
31+
# Intellij
132
*.iml
2-
.gradle
3-
/local.properties
4-
/.idea/workspace.xml
5-
/.idea/libraries
6-
.DS_Store
7-
/build
8-
/captures
33+
.idea/*
34+
# External native build folder generated in Android Studio 2.2 and later
935
.externalNativeBuild
10-
app/
36+
37+
# Freeline
38+
freeline.py
39+
freeline/
40+
freeline_project_description.json
41+
42+
### Android Patch ###
43+
gen-external-apklibs
44+
45+
# Signing files
46+
.signing/
47+
48+
# Local configuration file (sdk path, etc)
49+
50+
# Proguard folder generated by Eclipse
51+
52+
# Log Files
53+
54+
# Android Studio
55+
/*/local.properties
56+
/*/out
57+
/*/*/build
58+
/*/*/production
59+
*.ipr
60+
*~
61+
*.swp
62+
63+
# IntelliJ IDEA
64+
*.iws
65+
/out/
66+
67+
# OS-specific files
68+
.DS_Store
69+
.DS_Store?
70+
._*
71+
.Spotlight-V100
72+
.Trashes
73+
ehthumbs.db
74+
Thumbs.db
75+
76+
# Legacy Eclipse project files
77+
.classpath
78+
.project
79+
80+
# Mobile Tools for Java (J2ME)
81+
.mtj.tmp/
82+
83+
# Package Files #
84+
*.war
85+
*.ear
86+
87+
# virtual machine crash logs (Reference: http://www.java.com/en/download/help/error_hotspot.xml)
88+
hs_err_pid*
89+
90+
## Plugin-specific files:
91+
92+
# mpeltonen/sbt-idea plugin
93+
.idea_modules/
94+
95+
# JIRA plugin
96+
atlassian-ide-plugin.xml
97+
98+
# Mongo Explorer plugin
99+
100+
# Crashlytics plugin (for Android Studio and IntelliJ)
101+
com_crashlytics_export_strings.xml
102+
crashlytics.properties
103+
crashlytics-build.properties
104+
fabric.properties
105+
106+
### AndroidStudio Patch ###
107+
108+
!/gradle/wrapper/gradle-wrapper.jar
109+
110+
### Java ###
111+
# Compiled class file
112+
113+
# Log file
114+
115+
# BlueJ files
116+
*.ctxt
117+
118+
# Mobile Tools for Java (J2ME)
119+
120+
# Package Files #
121+
*.jar
122+
*.zip
123+
*.tar.gz
124+
*.rar
125+
126+
### Linux ###
127+
128+
# temporary files which can be created if a process still has a handle open of a deleted file
129+
.fuse_hidden*
130+
131+
# KDE directory preferences
132+
.directory
133+
134+
# Linux trash folder which might appear on any partition or disk
135+
.Trash-*
136+
137+
# .nfs files are created when an open file is removed but is still being accessed
138+
.nfs*
139+
140+
### macOS ###
141+
*.DS_Store
142+
.AppleDouble
143+
.LSOverride
144+
145+
# Icon must end with two \r
146+
Icon
147+
148+
# Files that might appear in the root of a volume
149+
.DocumentRevisions-V100
150+
.fseventsd
151+
.TemporaryItems
152+
.VolumeIcon.icns
153+
.com.apple.timemachine.donotpresent
154+
155+
# Directories potentially created on remote AFP share
156+
.AppleDB
157+
.AppleDesktop
158+
Network Trash Folder
159+
Temporary Items
160+
.apdisk
161+
162+
### Windows ###
163+
# Windows thumbnail cache files
164+
ehthumbs_vista.db
165+
166+
# Folder config file
167+
Desktop.ini
168+
169+
# Recycle Bin used on file shares
170+
$RECYCLE.BIN/
171+
172+
# Windows Installer files
173+
*.cab
174+
*.msi
175+
*.msm
176+
*.msp
177+
178+
# Windows shortcuts
179+
*.lnk
180+
app/src/main/res/raw/third_party_license_metadata
181+
app/src/main/res/raw/third_party_licenses

0 commit comments

Comments
 (0)