Commit graph

52 commits

Author SHA1 Message Date
misaochan
4a5ab0a8be Add no args constructor for Page 2016-10-04 18:03:57 +13:00
misaochan
2b9488d5ff Add comments 2016-09-17 17:59:49 +12:00
misaochan
26df8894d6 Check for locationPermission in uploadBegins() 2016-09-17 17:48:55 +12:00
misaochan
5102507fc8 Replace getLocationData() with getFileMetadata(true) 2016-09-17 17:44:07 +12:00
misaochan
333a0e0510 Merge getFileMetadata() and getLocationData() 2016-09-17 17:37:42 +12:00
misaochan
30632a72be Add getFileMetadata() to uploadBegins() 2016-09-17 17:21:45 +12:00
misaochan
9659389057 Change requestPermissions 2016-09-17 17:21:45 +12:00
misaochan
69cc480cdd Add comments 2016-09-17 02:05:09 +12:00
misaochan
071ecd38cb Initialize currentLatitude to null and do check 2016-09-17 01:52:50 +12:00
Josephine Lim
1f99460f99 Merge pull request #247 from whym/linterrors
Fixes to some errors found by lint ("Inspect code" on Android Studio)
2016-09-06 01:30:35 +12:00
Nicolas Raoul
03c5896937 Merge pull request #248 from whym/fixextension2
Further attempts to reduce overwrites
2016-09-05 14:15:49 +09:00
misaochan
c9ecc1018e Debug mode off 2016-09-05 16:08:26 +12:00
misaochan
e196773107 Pass decimalCoords to Contribution.java 2016-09-05 16:00:51 +12:00
misaochan
6250aaa89d Pass in decimalCoords 2016-09-05 15:58:30 +12:00
misaochan
40f69b1d10 Debug mode, no uploads 2016-09-05 15:45:53 +12:00
misaochan
88ced27ac8 Note places in code that need changing 2016-09-04 19:28:03 +12:00
Yusuke Matsubara
c434d209fc Further attempts to reduce overwrites
- Keep file names of unfinished uploads to avoid overwriting
- Normalize capital-letter file extensions
2016-09-04 10:55:23 +09:00
Yusuke Matsubara
41ffd993d1 Fixes to some errors found by lint ("Inspect code" on Android Studio)
See also #171.
2016-09-03 19:53:01 +09:00
misaochan
7dd48e092c Copy relevant code from GPSExtractor 2016-08-22 18:01:43 +12:00
misaochan
f13cdc0485 Add comments to GPSExtractor 2016-08-22 17:58:38 +12:00
Nicolas Raoul
eb275e25df Merge pull request #232 from whym/fixextension
Fix extension replacement, add related tests
2016-08-16 12:35:25 +09:00
Yusuke Matsubara
b91c9776f6 Fix extension replacement, add related tests
Makes sure findUniqueFilename receives filenames with an extension.
More robust extension replacement rules.
2016-08-16 09:07:32 +09:00
Yusuke Matsubara
0714f6ec93 Safeguard findUniqueFilename from race conditions
This might partially, but not fully, solve Issue #228 (accidental overwriting).
2016-08-15 21:58:56 +09:00
misaochan
8b23bb04f4 Add null check 2016-08-11 17:40:49 +12:00
misaochan
1489cd419b Add logs 2016-07-26 16:03:01 +12:00
misaochan
cbb3fc0f93 Removing unnecessary nesting 2016-07-26 15:59:24 +12:00
misaochan
a026a49017 Add null check 2016-07-26 15:54:09 +12:00
misaochan
66ef5fbca7 Fix IllegalStateException 2016-07-21 17:59:44 +12:00
misaochan
599f17559f Add log 2016-07-21 17:46:41 +12:00
misaochan
207521ef73 Add runtime permission checking to MultipleShareActivity 2016-07-21 17:45:09 +12:00
misaochan
026ef66437 Whitespace 2016-07-21 17:40:47 +12:00
misaochan
f42bc80f2f Fixme added 2016-07-19 16:36:46 +12:00
misaochan
7592b0bae1 Add catch for SecurityException 2016-07-15 17:13:39 +12:00
misaochan
93d3123503 Added returns 2016-07-15 00:11:29 +12:00
misaochan
bfcb7fb6f2 Rearranging code 2016-07-15 00:08:53 +12:00
misaochan
bdd53f2f2a Add check for Marshmallow 2016-07-15 00:03:16 +12:00
misaochan
604fc3d5fe Add 4th case for onResults 2016-07-15 00:01:08 +12:00
misaochan
00ab7dc339 Remove wrong code 2016-07-13 19:42:15 +12:00
misaochan
8f78f904a0 Added comments and whitespace 2016-07-13 19:38:56 +12:00
misaochan
af0c1dc3a8 Integrate with Adam's code 2016-07-13 19:38:56 +12:00
misaochan
f8fbf0f8cf Added check to send button 2016-07-13 19:38:56 +12:00
misaochan
1b385d4f03 Use callback method 2016-07-13 19:38:56 +12:00
misaochan
350679dc5d Add comments 2016-07-13 19:38:56 +12:00
misaochan
24d0b9fdf6 Added fixme in places for permissions check 2016-07-13 19:38:56 +12:00
misaochan
82f2d58f58 Catch exceptions 2016-07-13 19:38:56 +12:00
misaochan
b30bee5b0f Null check for cursor close 2016-07-12 18:10:08 +12:00
misaochan
9543c03cab Add exception logging to UploadController 2016-07-12 18:06:50 +12:00
misaochan
9b8a74b88e Add try catch block 2016-07-12 16:22:19 +12:00
Yusuke Matsubara
95f538edc4 Close cursors (+tidy redundant class qualifiers) 2016-07-11 21:33:06 +09:00
Yusuke Matsubara
08bc52e457 Make AuthenticatedActivity abstract (per lint) 2016-07-09 12:49:45 +09:00