Commit Graph

57 Commits

Author SHA1 Message Date
bspeice
6955ef0b09 Add code to grab parking lot locations from the server
Hindsight being what it is, this would have been just as easy to write
client-side. May end up doing that.
2013-10-28 14:20:22 -04:00
bspeice
4264fa6fc7 Move the rateLot function to a new URL 2013-10-28 12:04:35 -04:00
bspeice
71ea42e080 Split the RegistrationClient into registration and parking 2013-10-20 17:34:42 -04:00
bspeice
2ebeba7288 Initial automated refactoring 2013-10-20 17:32:28 -04:00
bspeice
83a66e45a6 Remove some unused imports 2013-10-20 17:30:37 -04:00
bspeice
04adbbae94 Dumb mistake in Retrofit - use @Path, not @Query 2013-10-19 21:32:30 -04:00
bspeice
20bba0e571 RegistrationClient can now look up by first and last name 2013-10-19 21:26:59 -04:00
bspeice
c78d2e526a GamedayService now knows how to look up users by name 2013-10-19 21:18:41 -04:00
bspeice
85d6301d9b RegistrationClient should be more obvious that it needs an ID 2013-10-19 21:11:39 -04:00
bspeice
be332e794c Switch Attendee to use camelCase 2013-10-19 21:05:18 -04:00
bspeice
a22fe150cb Remove an unused import 2013-10-19 21:03:45 -04:00
bspeice
11b7ad6547 RegistrationClient now knows about the new GamedayServices 2013-10-19 21:03:19 -04:00
bspeice
befaf69d33 Update the Attendee class
It won't ever receive the date_registered, and it should receive the ID
2013-10-19 21:00:45 -04:00
bspeice
d21e269579 GamedayService now knows about the new REST methods 2013-10-19 20:57:16 -04:00
bspeice
b62cd865e9 Add a dummy ParkingLotCallback
Don't know why the unit test passed last night, won't pass without this
now...
2013-10-19 20:52:08 -04:00
bspeice
0190bae731 Switch '...' to an ellipsis 2013-10-19 19:59:56 -04:00
bspeice
48e6a06d3a Minor cleanup 2013-10-19 19:58:53 -04:00
bspeice
f19c6b8735 Switch the hostname back.
Oops.
2013-10-18 21:53:23 -04:00
bspeice
250db4a1f9 Get the rate lot function working correctly.
It's a bit funky - requests seem to hit the server about 90% of the
time...
2013-10-18 21:45:59 -04:00
bspeice
e12b47fe4c Add some extra helper code on the RegistrationClient 2013-10-18 18:51:49 -04:00
bspeice
e79f1910c9 Get the RegistrationClient ready for the new rateLot 2013-10-18 18:49:43 -04:00
bspeice
33e1eeb86e Make GamedayService use the enum 2013-10-18 18:49:15 -04:00
bspeice
a02e59b81f Change ParkingRating to use the POJO pattern 2013-10-18 18:47:23 -04:00
bspeice
47e327d65e RegistrationClient should take in a ParkingChoice to list, not a lot 2013-10-18 18:05:32 -04:00
bspeice
128ca8fad9 Make the ParkingLot follow the POJO pattern 2013-10-18 18:05:06 -04:00
bspeice
0ed2401663 Add ability to list an individual lot for parking. 2013-10-18 17:58:06 -04:00
bspeice
a478045fe2 Add method to rate a parking lot 2013-10-18 17:52:53 -04:00
bspeice
0bd9b078a3 Remove exception handling from RegistrationClient
Separation of reponsibilities - it just interfaces with REST
2013-10-18 17:48:21 -04:00
bspeice
d6586d3ac9 Add the new (and tested!) RegistrationClient 2013-10-18 17:46:37 -04:00
bspeice
70dac422e1 Add INTERNET permission 2013-10-18 17:18:53 -04:00
bspeice
b1192283ac Add GSON library for Retrofit 2013-10-18 17:18:40 -04:00
bspeice
7cefd630d3 Add the initial Retrofit REST API code
Note: Completely untested, but it looks cool!
2013-10-16 14:39:43 -04:00
bspeice
f65e57313a Add the retrofit library for REST API access. 2013-10-16 14:16:46 -04:00
bspeice
a96694e4ad Add the fetchUnread method to the AlertDB to be implemented. 2013-10-16 14:14:20 -04:00
bspeice
0c98d681d1 Refactor, don't use the application context 2013-10-16 11:02:18 -04:00
bspeice
f8db5d8bb3 Add the beginnings of the Registration code 2013-10-14 15:33:49 -04:00
bspeice
d3ba093cbe Add some documentation on fetching alerts from Twitter. 2013-10-14 13:40:42 -04:00
bspeice
caf9da1e58 Add the new AlertDB api
Yay for test-driven development!
2013-10-14 13:36:04 -04:00
bspeice
ad38a415fd Clear an Alert after it is clicked 2013-10-09 20:54:38 -04:00
bspeice
27681948fc Minor cleanups 2013-10-09 20:42:44 -04:00
bspeice
df9e24e17c Finally, alerts actually display. 2013-10-09 20:31:07 -04:00
bspeice
0fb498a306 Add initial code to show alerts 2013-10-09 20:20:04 -04:00
bspeice
9fc974402b Add lots more skeleton 2013-10-09 19:40:07 -04:00
bspeice
e0f029f387 Add code for the SharedPreferences in determining which alerts to fetch. 2013-10-09 15:14:04 -04:00
bspeice
bcfd88faa7 AlertFetcher should be explicitly given its Context
Worst case, write a static method inside it.
2013-10-08 18:10:57 -04:00
bspeice
fa28b411b5 Add some more skeleton to how Alerts should be processed
Create a way to statically get the app context
2013-10-07 14:20:20 -04:00
bspeice
449678316f Add basic twitter functionality 2013-10-04 21:43:36 -04:00
bspeice
188d6e0961 Add some skeleton code for fetching alerts. 2013-10-04 21:17:50 -04:00
bspeice
5d991d0797 Add basic handling to the checkbox click events in Alerts settings. 2013-10-04 20:37:33 -04:00
bspeice
e8b3f13405 Add the twitter4j library for fetching alerts 2013-10-04 20:25:05 -04:00