Skip to content

denevell/Natch-Android

Repository files navigation

The Android client to the Natch REST project.

Backlog

  • Test for deleting when logged out, not crashing.
  • Test for old pagination problem.
  • Test adding / editing post now returning 400s instead of error codes.
  • Test for deleting a thread doesn't delete an announcement of the same listview position
  • Separate signing key file
  • Sort out alignment for authors in posts

Icebox

  • Save edit box content in add threads page
  • Better detection of gcm server registration
  • I should see an error on delete thread
  • I should see an error on delete post
  • Only see notification for summaries
  • I should keep the found threads on rotate / onResume / app close
  • Sliding add thread
  • Sliding add post
  • Reply to post

Testing to do

  • Test going to website
  • Test that logout dialogue box closes.
  • Test that back indicator doesn't appear once back from posts fragment.
  • See if I can tests gcm notifications
  • Tech task: Unit tests from gradle
  • Should close the keyboard on clicking a list item
  • Listview saved on rotation.
  • Settings screen for gcm stuff

Refactoring

  • Refactor the shamefulstatics class.

Non criticial bugs

  • Scrolling to bottom of posts when pagination in place fails
  • List view save position when first is showing.
  • DialogFragment unusable after activity destroy

--

Tasks complete

  • Task: Think about controllers as views
  • Task: Get session id from static class instead of strings file
  • Task: Change session id for ui tests in ui test class
  • Task: Change url for ui tests in ui test class
  • Task: Refactor / redesign ui event object code.
  • Task: Integrate Espresso tests with CI environment.
  • Task: Build step to clear the database via sql call
  • Task: Start using Espresso testing framework.
  • Task: UI build step to login and register
  • Task: UI build step to change session id
  • Task: Build step to add threads via rest calls
  • Task: Method to change the base url from Application or a static class
  • Task: Move the auth key to strings.xml
  • Task: Move setting the request headers to a method
  • Task: Setup ci server that simply builds it
  • Task: Setup ci server that runs ui tests
  • Task: Setup ci server that updates the dev version on the play store
  • Task: Start using gradle for normal builds
  • Task: Add robolectic
  • Task: Should start unit testing
  • Task: Start ui testing
  • Task: EditText which automatically hides the keyboard
  • Task: Gradle for the junit tests
  • Task: Use a lower resource hungry emulator in the docker container.

Stories (Numbers relate to classes names in the uiTests dir)

  1. I should be able to register, and be automatically logged in, and no longer see the register option 00a. I should see duplicate usernames message if tried to register with a taken name.
  2. I should be able to login and change the auth key for the calls. 0a. I should see an error message on login fail 0b. I should see my name once logged in
  3. I should see some threads along with content of first post in the app 1a. I should see an error on list threads 1b. I should see empty screen on no threads 1c. I should be able to use a refresh button 1d I should see the date and number posts
  4. I should be able to add a new thread and first post in thread 3a. I should see server error on adding a new thread with blank input 3b. I should see error when I attempt to add a thread when not logged in, and then login and add 3c. I should see error when I attempt to add a thread when not logged in, and then register and add 3d. I should see author of new thread
  5. I should refresh the (plus loading) threads after an add
  6. I should be able to delete a thread I have created 5a. I shouldn't be able to delete a thread I someone else has created
  7. I should load the posts in a thread after it's clicked on, and add a post 6a. I should see an error on add post with blank data 6b. I should see an error on list posts 6c. I should be able to refresh the posts 6d. I should see login error when I attempt to add a post when not logged in and can then add 6e. I should see reg error when I attempt to add a post when not logged in and can then add 6f. I should animate down to the list bottom on adding a post 6g. I should see author of new post
  8. I should delete a thread from within the thread page 7a. I shouldn't be able to delete a thread I someone else has created
  9. I should delete post from a thread, and then see the existing thread, one post less.
  10. I should be able to edit my post 9a. I shouldn't be able to edit a post that's not mine 9b. I should see an error on edit post with blank data 10: I should be able to edit my thread title and content 10a: I shouldn't be able to edit a thread that's not mine 10b: I should see an error on edit thread with blank data 11: I should be able to press more to see more threads 12: I should be able to press more to see more posts
  11. I should be able to logout *: I should be able to see dates on posts

About

Android client for the Natch-REST project

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages